Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Please help me set cloudsearch
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kiss...@gmail.com  
View profile  
 More options Aug 19 2012, 3:55 am
From: kiss...@gmail.com
Date: Sun, 19 Aug 2012 00:55:57 -0700 (PDT)
Local: Sun, Aug 19 2012 3:55 am
Subject: Please help me set cloudsearch

Module r2.lib.cloudsearch:*655* in _run         <http://reddit.local/search?q=lkl#>

>>   <http://reddit.local/search?q=lkl#>_update*=*_update*)*

Module r2.lib.cloudsearch:*711* in _run_cached         <http://reddit.local/search?q=lkl#>
>>   <http://reddit.local/search?q=lkl#>record_stats*=*True*)*

Module r2.lib.cloudsearch:*548* in basic_query         <http://reddit.local/search?q=lkl#>
>>   <http://reddit.local/search?q=lkl#>path*,* reasons*)*

*<class 'r2.lib.cloudsearch.InvalidQuery'>: (400, 'Bad Request',
{u'message': u"Field 'text' is not defined in the metadata for this
collection. All fields used in the match expression must be defined in the
metadata.", u'code': u'CS-UnknownFieldInMatchExpression', u'severity':
u'fatal'},
'/2011-02-01/search?facet-reddit-top-n=20&rank=-relevance&facet=reddit&star t=0&bq=%28field+text+%27lkl%27%29&results-type=json&size=1000',
{u'rid':
u'90c9b0fdba3e834b2e1c4574373558c858fe324726ffab1fe195f5fbc09a263d487beadf2 467093e',
u'time-ms': 0, u'messages': [{u'message': u"Field 'text' is not defined in
the metadata for this collection. All fields used in the match expression
must be defined in the metadata.", u'code':
u'CS-UnknownFieldInMatchExpression', u'severity': u'fatal'}],
u'cpu-time-ms': 0, u'error': u'info'})*

I got this error. I don't think that I made table field well. Actually I
couldn't find any document for setting up cloudsearch.  
Please help me.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Mitchell  
View profile  
 More options Aug 20 2012, 4:25 pm
From: Keith Mitchell <kemit...@reddit.com>
Date: Mon, 20 Aug 2012 13:25:16 -0700
Local: Mon, Aug 20 2012 4:25 pm
Subject: Re: [reddit-dev] Please help me set cloudsearch

Hi,

There's no document yet available for setting up cloudsearch (you're the
first to ask about it!) but I'll be happy to help you work through the
kinks.

It looks like you've been able to connect to your search endpoint, which is
a great start. You'll want to configure the following index fields and
relevance sorts. The first dump is for the domain associated with your
CLOUDSEARCH_SEARCH_API endpoint:

Fields:
=======
author                                          Active      literal (Search
Result)
author_fullname                                 Active      literal (Search)
downs                                           Active         uint ()
flair                                           Active         text ()
Sources:
[function:Copy,name:flair_css_class,default:][function:Copy,name:flair_text ,default:]
flair_css_class                                 Active      literal (Search)
flair_text                                      Active         text ()
fullname                                        Active         text (Result)
is_self                                         Active         uint ()
nsfw                                            Active         uint ()
Sources: [function:Copy,name:over18,default:]
num_comments                                    Active         uint ()
over18                                          Active         uint ()
reddit                                          Active      literal (Facet)
self                                            Active         uint ()
Sources: [function:Copy,name:is_self,default:]
selftext                                        Active         text ()
site                                            Active         text (Result)
sr_id                                           Active         uint ()
subreddit                                       Active         text (Result)
text                                            Active         text ()
Sources:
[function:Copy,name:title,default:][function:Copy,name:author,default:][fun ction:Copy,name:subreddit,default:][function:Copy,name:selftext,default:]
timestamp                                       Active         uint ()
title                                           Active         text (Result)
ups                                             Active         uint ()
url                                             Active         text (Result)
relevance                                       Active  (text_relevance +
1) * log10(max(1, ups - downs + num_comments))
top                                             Active  max(1, ups - downs)

This next dump is for the fields you'll want for your
CLOUDSEARCH_SUBREDDIT_SEARCH_API endpoint:

Fields:
=======
activity                                        Active         uint ()
description                                     Active         text (Result)
header_title                                    Active         text ()
language                                        Active      literal (Search)
link_type                                       Active      literal (Search)
name                                            Active      literal (Search)
nsfw                                            Active         uint ()
Sources: [function:Copy,name:over18]
over18                                          Active         uint ()
sidebar                                         Active         text (Result)
subscribers                                     Active         uint ()
text                                            Active         text ()
Sources:
[function:Copy,name:name][function:Copy,name:title][function:Copy,name:desc ription]
title                                           Active         text (Result)
type                                            Active      literal (Search)

--
Join me in the fight to end AIDS!
ALC 12 Cyclist 1363 <http://www.tofighthiv.org/goto/kemitche>
Team reddit <http://www.tofighthiv.org/goto/reddit>

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry  
View profile  
 More options Aug 21 2012, 5:10 am
From: Jerry <kiss...@gmail.com>
Date: Tue, 21 Aug 2012 02:10:52 -0700 (PDT)
Local: Tues, Aug 21 2012 5:10 am
Subject: Re: [reddit-dev] Please help me set cloudsearch

Thank you so much!!

You gave me a light!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Mitchell  
View profile  
 More options Aug 21 2012, 1:16 pm
From: Keith Mitchell <kemit...@reddit.com>
Date: Tue, 21 Aug 2012 10:16:52 -0700
Local: Tues, Aug 21 2012 1:16 pm
Subject: Re: [reddit-dev] Please help me set cloudsearch

Always glad to help.

--
Join me in the fight to end AIDS!
ALC 12 Cyclist 1363 <http://www.tofighthiv.org/goto/kemitche>
Team reddit <http://www.tofighthiv.org/goto/reddit>

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ahmet Novalić  
View profile  
 More options Jan 25, 10:08 am
From: Ahmet Novalić <ahmetnova...@gmail.com>
Date: Fri, 25 Jan 2013 07:08:16 -0800 (PST)
Local: Fri, Jan 25 2013 10:08 am
Subject: Re: [reddit-dev] Please help me set cloudsearch

Hey Keith,

Thank you for this valuable resource, I used this combined with that other
comment in reddit and I think I almost made the search wrong. I am
currently waiting for the Amazon to "load" the search things.

I have one question though,
"relevance                                       Active  (text_relevance +
1) * log10(max(1, ups - downs + num_comments))
top                                             Active  max(1, ups - downs)"

In the first cloudsearch intance, what are those values "(text_relevance +
1) * log10(max(1, ups - downs + num_comments))" and "max(1, ups - downs)",
where do you input them? I followed the previous one with great success,
you specified type, "tickmarks" and formulas, but for those two fields you
havent specified those information. I tried UINTS, since they seem logical,
but can't figure where to put that "formula".

Could you maybe assist me with this?

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Mitchell  
View profile  
 More options Jan 28, 2:02 pm
From: Keith Mitchell <kemit...@reddit.com>
Date: Mon, 28 Jan 2013 11:02:06 -0800
Local: Mon, Jan 28 2013 2:02 pm
Subject: Re: [reddit-dev] Please help me set cloudsearch

If you're using the AWS console to configure everything (which it sounds
like is what you're doing), you'll want to go to:

<your domain> -> Configure Domain -> Rank Expressions.

From there you can choose to "Add New Expressions" (or modify one of the
existing ones) to put those rank expressions into play.

- Keith

On Fri, Jan 25, 2013 at 7:08 AM, Ahmet Novalić <ahmetnova...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »