lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Contextual search
Date Tue, 02 Dec 2014 18:38:30 GMT
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.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 2 December 2014 at 12:55, ASHOK SARMAH <ashoksarmah1990@gmail.com> wrote:
> 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" <arafalov@gmail.com> wrote:
>
>> 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 with. So, start with that and come back if you still have
>> troubles once you understand the way analyzers work.
>>
>> 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
>>
>>
>> On 1 December 2014 at 09:46, ASHOK SARMAH <ashoksarmah1990@gmail.com>
>> 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 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
>> > in this case result as "a book of three".like previous.
>>

Mime
View raw message