Re: Contextual search

2014-12-02 Thread Alexandre Rafalovitch
Sorry, beyond my area of expertise now. Hopefully somebody else will pitch in. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853

Re: Contextual search

2014-12-02 Thread ASHOK SARMAH
HI Alex, I have specified these in the solrconfig.xml as:: on true 5 2 5 true true 5 3 wordbreak 5 . The lines wordbreak 5 are for breaking the word threebook as three and book .But then too its not searching for the string "A book of t

Re: Contextual search

2014-12-02 Thread ASHOK SARMAH
HI Alex, I have specified following in my solrconfig.xml :: on true 5 2 5 true true 5 3 wordbreak 5 I have written wordbreak 5 to break the words with minimum length 5.then it should break my word threebook as three and book right?corre

Re: Contextual search

2014-12-02 Thread Alexandre Rafalovitch
Well, how would you expect it to solve it - in non-technical terms. What's the high level description of "book of three" matching "threebook" and not say "threeof"? Random permutation of any two words? It's a bit of a strange requirement so far. Regards, Alex. Personal: http://www.outerthoughts

Re: Contextual search

2014-12-02 Thread ASHOK SARMAH
Hi alex thnx .i was able to get the get the suggestion for thri book as " the book of three".but when i search for threebook (three and book are now combined)then i am not able to get the suggestn for "a book of three".how we solve this? On 01-Dec-2014 9:34 PM, "Alexandre Rafalovitch" wrote: > If

Re: Contextual search

2014-12-01 Thread Mikhail Khludnev
Doesn't it seem like WordBreakSolrSpellChecker mentioned at http://wiki.apache.org/solr/SpellCheckComponent? On Mon, Dec 1, 2014 at 5:46 PM, ASHOK SARMAH wrote: > Hii all .i wanted to know how solr performs contextual search.actually in > my search list i had given the query as "three book".i go

Re: Contextual search

2014-12-01 Thread Alexandre Rafalovitch
If you need Solr to treat 'thri' (invalid English) as 'three', you need to tell it to do so. Look at the synonym modules in the example's schema.xml. Or you could do phonetic matches. You have a couple of choices for those, but basically it's all about the specific analyzer chains to experiment wi

Contextual search

2014-12-01 Thread ASHOK SARMAH
Hii all .i wanted to know how solr performs contextual search.actually in my search list i had given the query as "three book".i got the suggestn as "a book of three".which i wanted.but when i specify it as "thri book".it specifies me of spelling check for thri as three its fyn.but why i dont get i