Re: Solr AutoComplete - Address Search
Just to add to it, I'm using Suggester component to implement Auto Complete http://wiki.apache.org/solr/Suggester -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-AutoComplete-Address-Search-tp3590112p3592017.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr AutoComplete - Address Search
Hi, I'm trying to implement autocomplete functionality for Address search. I've used the KeywordTokenizerFactory LowerCaseFilterFactory. Problem is, when I start typing the numbers at start, I got any results from SOLR (Eg: 3500 W South). Could you please guide on this fieldType class=solr.TextField name=text_autophrase analyzer tokenizer class=solr.KeywordTokenizerFactory/ filter class=solr.LowerCaseFilterFactory/ /analyzer /fieldType Thanks, Vijay -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-AutoComplete-Address-Search-tp3590112p3590112.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr real-time update taking time
I'll try to use CommitWithin. Just to confirm, if I have the value as 2 seconds, will it affect my search performance? To answer you questions, 1. spellCheck is not used with buildOnCommit 2. Index size is 16.1 GB and RAM allocated to JVM 1GB. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-real-time-update-taking-time-tp3472709p3474334.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr real-time update taking time
Hi Jan, Thanks very much for the suggestion. I used CommitWithin(5000) and the response came down to less than a second. But I see an inconsistent behaviour on the response times. Sometimes it's taking more than 20-25 seconds. May be I'll open up a separate thread. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-real-time-update-taking-time-tp3472709p3476091.html Sent from the Solr - User mailing list archive at Nabble.com.
SOLRJ commitWithin inconsistent
Hi, I'm using CommitWithin for immediate commit. The response times are inconsistent. Sometimes it's less than a second. Sometimes more than 25 seconds. I'm not sending concurrent requests. Any idea? http://wiki.apache.org/solr/CommitWithin Snippet: UpdateRequest req = new UpdateRequest(); req.add( solrDoc); req.setCommitWithin(5000); req.process( server ); Thanks, Vijay -- View this message in context: http://lucene.472066.n3.nabble.com/SOLRJ-commitWithin-inconsistent-tp3476104p3476104.html Sent from the Solr - User mailing list archive at Nabble.com.