Re: AW: AW: auto completion search with solr using NGrams in SOLR

2014-10-01 Thread xoku
help me! i can't find all result. str name=spellcheck.count200/str Ex: i find: file result expected: file name documentabcxyz but solr return result (suggest: result term object) : - [suggestions:protected] = Array ( [0] = file [1] = file (whitespace)

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2014-10-01 Thread Erick Erickson
Perhaps your ngram filter is set to terminate at 14 (maxGram)? Best, Erick On Wed, Oct 1, 2014 at 3:18 AM, xoku xoan...@anlab.info wrote: help me! i can't find all result. str name=spellcheck.count200/str Ex: i find: file result expected: file name documentabcxyz but solr return result

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2014-04-08 Thread atpatil11
Hi I have done the same changes as you told changed the code with my fields name. However I'm getting following error. I even reverted edited code but still its throwing same error. We're having Solr 4.6. When i restart the solr it says solr (pid 4610) already running. SolrCore Initialization

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2013-10-28 Thread anurag.sharma
Hi ... I am trying to build autocomplete functionality using your post. But I am getting the following error *2577 [coreLoadExecutor-3-thread-1] WARN org.apache.solr.spelling.suggest.Suggester – Loading stored lookup data failed java.io.FileNotFoundException:

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2013-01-24 Thread AnnaVak
Thanks for your solution it works for me too, I'm new with Solr but how I can additionally fetch another fields not only field that was used for searching? For example I have product title and image fields and I want to get the title but also related to this title image ? How can I do this?

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2013-01-24 Thread Naresh
Hi, You can fetch all the stored fields by passing them as part of *fl*parameter. Go through http://wiki.apache.org/solr/CommonQueryParameters#fl On Thu, Jan 24, 2013 at 8:56 PM, AnnaVak anna.vakulc...@gmail.com wrote: Thanks for your solution it works for me too, I'm new with Solr but how I

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-25 Thread aniljayanti
Hi, Finally got Solved using TermComponents. schema.xml -- fieldType name=edgytext class=solr.TextField analyzer tokenizer class=solr.KeywordTokenizerFactory/ filter class=solr.LowerCaseFilterFactory/ /analyzer /fieldType field name=title type=edgytext

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-06 Thread aniljayanti
Hi, Thanks, Iam getting the results with below url. *suggest/?q=michael bdf=titledefType=lucenefl=title* But, i want the results in spellcheck section. i want to search with title or empname or both. Aniljayanti -- View this message in context:

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-05 Thread Ahmet Arslan
. --- On Wed, 9/5/12, aniljayanti anil.jaya...@gmail.com wrote: From: aniljayanti anil.jaya...@gmail.com Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR To: solr-user@lucene.apache.org Date: Wednesday, September 5, 2012, 7:29 AM Hi, thanks, I m sending my whole

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-05 Thread aniljayanti
HI, Thanks, i want to search with title and empname both. for example when we use any search engine like google,yahoo... we donot specify any type that is (name or title or song...). Here (*suggest/?q=michael bdf=titledefType=lucene*) we are specifying the title type search. I removed said

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-05 Thread Ahmet Arslan
i want to search with title and empname both. I know, I give that URL just to get the idea here. If you try suggest/?q=michael bdf=titledefType=lucenefl=title you will see that your interested will in results section not lst name=spellcheck section. or title or song...). Here

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-04 Thread Kiran Jayakumar
I wonder why. I had a similar use case works great for me. If you can send the snapshot of analysis for a sample string (say hello world for indexing, hel - positive case, wo - negative case for querying), then we can see whats going on. Also the debug query output would be helpful. On Fri,

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-04 Thread aniljayanti
Hi, thanks, I m sending my whole configurations in schema and solrconfig.xml files. schema.xml --- fieldType name=edgytext class=solr.TextField positionIncrementGap=100 omitNorms=true analyzer type=index

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-03 Thread aniljayanti
Hi, thanks, Im not able to attach asked xml files here. Can u give me ur Email id, so that i can send schema and solrconfig.xmls. Regards, AnilJayanti -- View this message in context:

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-01 Thread Ahmet Arslan
solrconfig.xml and schema.xml? --- On Sat, 9/1/12, aniljayanti anil.jaya...@gmail.com wrote: From: aniljayanti anil.jaya...@gmail.com Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR To: solr-user@lucene.apache.org Date: Saturday, September 1, 2012, 8:28 AM Hi, Thanks

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-31 Thread Kiran Jayakumar
Try this: tokenizer class=solr.KeywordTokenizerFactory/ http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.KeywordTokenizerFactory On Thu, Aug 30, 2012 at 9:07 PM, aniljayanti anil.jaya...@gmail.com wrote: Hi, thanks, I checked with given changes, getting below error saying

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-31 Thread aniljayanti
Hi, Thanks, As i already used KeywordTokenizerFactory in my earlier posts. fieldType name=edgytext class=solr.TextField positionIncrementGap=100 omitNorms=true analyzer type=index *tokenizer class=solr.KeywordTokenizerFactory / filter

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-30 Thread aniljayanti
Hi, thanks, I checked with given changes, getting below error saying that SOLR is not allowing without tokenizer. org.apache.solr.common.SolrException: analyzer without class or tokenizer filter list at org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java:914) at

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-29 Thread Ahmet Arslan
Hi, thanks, I tried by adding marks,  but still giving same results. http://localhost:8080/test/suggest/?q=michael f Looking back to your field type definition, i saw that you have defined filter class=solr.EdgeNGramFilterFactory minGramSize=1 maxGramSize=15 side=front / in

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-29 Thread aniljayanti
Hi, thanks for ur reply, I donot know how to remove multiple white spaces using regax in the search text. Can u share me that one. Thanks, AnilJayanti -- View this message in context:

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-29 Thread Kiran Jayakumar
You need this for both index and query: filter class=solr.PatternReplaceFilterFactory pattern=\s+ replacement= replace=all/ http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PatternReplaceFilterFactory On Wed, Aug 29, 2012 at 4:55 AM, aniljayanti anil.jaya...@gmail.com wrote:

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-29 Thread aniljayanti
Hi thanks, I tried with below said changes, but getting same result as earlier. suggest/?q=michael ja --- fieldType name=edgytext class=solr.TextField positionIncrementGap=100 omitNorms=true analyzer type=index tokenizer class=solr.KeywordTokenizerFactory

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-29 Thread aniljayanti
Hi, thanks, I added PatternReplaceFilterFactory like below.Getting results differently(not like suggester). You suggested to remove KeywordTokenizerFactory , PatternReplace is a FilterFactory, then which TokenizerFactory need to use ? fieldType name=edgytext class=solr.TextField

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-28 Thread Ahmet Arslan
You need to use quotes in your query : http://localhost:8080/test/suggest/?q=michael f --- On Tue, 8/28/12, aniljayanti anil.jaya...@gmail.com wrote: From: aniljayanti anil.jaya...@gmail.com Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR To: solr-user

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-28 Thread Kiran Jayakumar
Since you have tokenizer class=solr.KeywordTokenizerFactory /, during indexing time, it is going split the text on white spaces and then apply edge n-grams. If you remove this may be replace it with a simpler regex which does basic clean up like removing multiple white spaces etc., then it will

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-04 Thread Ahmet Arslan
--- On Sat, 8/4/12, aniljayanti anil.jaya...@gmail.com wrote: From: aniljayanti anil.jaya...@gmail.com Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR To: solr-user@lucene.apache.org Date: Saturday, August 4, 2012, 8:57 AM Hi thanks, which doing searching i

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-03 Thread aniljayanti
Hi thanks, which doing searching i will search either with empname or title only. And also not using any asterics in the query. ex : if i search with mic result should come like michale jackson michale border michale smith want the result just like google search. can us suggest me wht are

AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-02 Thread Markus Klose
2012 09:34 An: solr-user@lucene.apache.org Betreff: Re: AW: auto completion search with solr using NGrams in SOLR Hi, thanks, im searching with empname filed. want to search with both empname and title. below is my changed code. fieldType name=edgytext class=solr.TextField