Re: [google-appengine] FullText Search: Latency Issue - Not showing results

2014-01-20 Thread Vinny P
On Sat, Jan 18, 2014 at 1:34 AM, Ananthakrishnan Venkatasubramanian 
ananthakrishnan.venkatasubraman...@a-cti.com wrote:

 Why didn't the first query give the results when i tried for the first
 time both in text search viewer as well as via the application?




Does this occur primarily on new App Engine instances, or instances that
have been running for some time? Sometimes newly-created instances have
difficulties accessing App Engine services. You can test this by examining
the instance IDs on each log.



On Sat, Jan 18, 2014 at 1:34 AM, Ananthakrishnan Venkatasubramanian 
ananthakrishnan.venkatasubraman...@a-cti.com wrote:

 Hi,

 We are a premium account user




Just FYI, this forum is open to all, not just premium accounts. If you want
to utilize your premium support, you should email or call Google with the
contact information that you received as part of your support package.

I try to give people the same level of advice and explanation regardless
whether they have free or paid accounts :-)



-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] FullText Search: Latency Issue - Not showing results

2014-01-20 Thread Ananthakrishnan Venkatasubramanian
Hi,

Clearly the search request came into the instance that has been running for 
some time. Document was indexed successfully at 12:00:09 (UTC) and the 
request for search came in at 12:00:45 (UTC), 12:01:47 (UTC), 12:01:49 
(UTC), 12:03:08 (UTC)  12:03:24 (UTC).

There was no instance restarts during these time.

Only in the last request came in at 12:03:24 (UTC), the results came 
successfully (1 record found) and the other 4 requests for search which 
came after indexing the document failed to return results (ie...0 records 
found was the result being returned).

Please let me know if you need any other information regarding this.

Thanks.

Regards,
Anantha Krishnan.

On Monday, January 20, 2014 1:52:01 PM UTC+5:30, Vinny P wrote:

 On Sat, Jan 18, 2014 at 1:34 AM, Ananthakrishnan Venkatasubramanian 
 ananthakrishnan.venkatasubraman...@a-cti.com javascript: wrote:

 Why didn't the first query give the results when i tried for the first 
 time both in text search viewer as well as via the application?




 Does this occur primarily on new App Engine instances, or instances that 
 have been running for some time? Sometimes newly-created instances have 
 difficulties accessing App Engine services. You can test this by examining 
 the instance IDs on each log.



 On Sat, Jan 18, 2014 at 1:34 AM, Ananthakrishnan Venkatasubramanian 
 ananthakrishnan.venkatasubraman...@a-cti.com javascript: wrote:

 Hi,

 We are a premium account user




 Just FYI, this forum is open to all, not just premium accounts. If you 
 want to utilize your premium support, you should email or call Google with 
 the contact information that you received as part of your support package. 

 I try to give people the same level of advice and explanation regardless 
 whether they have free or paid accounts :-)

  
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com
  


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] FullText Search: Latency Issue - Not showing results

2014-01-20 Thread Vinny P
On Mon, Jan 20, 2014 at 2:57 AM, Ananthakrishnan Venkatasubramanian 
ananthakrishnan.venkatasubraman...@a-cti.com wrote:

 Clearly the search request came into the instance that has been running
 for some time. Document was indexed successfully at 12:00:09 (UTC) and the
 request for search came in at 12:00:45 (UTC), 12:01:47 (UTC), 12:01:49
 (UTC), 12:03:08 (UTC)  12:03:24 (UTC).

 Only in the last request came in at 12:03:24 (UTC), the results came
 successfully (1 record found) and the other 4 requests for search which
 came after indexing the document failed to return results (ie...0 records
 found was the result being returned).



So to clarify, your issue is that the Search API didn't return the document
until 3 minutes 15 seconds after the initial index successful operation?
Did you try any requests after the 12:03:24 UTC mark?

That sounds about correct actually. It's not a bug, it's just that the
Search API requires a little time between the *index.put* operation to the
time where the document is available for search. The fact that
*index.put* returned
successfully doesn't mean that the document is fully indexed, it means that
the App Engine infrastructure acknowledges your request but will need some
time to replicate the document, replicate the indexes, push the updates
over the network, receive acknowledgements, etc.

-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] FullText Search: Latency Issue - Not showing results

2014-01-17 Thread Ananthakrishnan Venkatasubramanian
Hi,

We are a premium account user. We are running the FullText Search feature 
in production for the past 3 days. Found the following weird behaviour in 
fulltext search while accessing the results via the application as well as 
text search viewer.

field1 = (value1 OR value2 OR value3) AND field2 = (value4)


Didn't return any results either from the application or the text search 
viewer which is weird because the data was created and indexed as a 
document successfully.

Then I tried the following in the viewer by removing the field1 filter,

field2 = (value4)


It showed up the result in text search viewer successfully.

Finally i tried the first query again which has the extra filter which is 
this,

field1 = (value1 OR value2 OR value3) AND field2 = (value4)


It showed up the results in the text search viewer successfully.

The same first query which is shown above gave results via the application 
also after that.

Why didn't the first query give the results when i tried for the first time 
both in text search viewer as well as via the application?

Please give us a direction as how to solve this problem.

Thanks.

Regards,
Anantha Krishnan

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.