Re: question about synonyms and response

2010-03-31 Thread MitchK
Reading the wiki, one can see that the synonyms are added to the query, when synonym-expanding at querytime is true. That means instead of searching only for "nice" you search for example for "nice | pretty". I suggest you to read the wiki, searching for synonymFilter, and consider the noticed us

RE: Question about synonyms

2007-07-12 Thread Ard Schrijvers
Hello, > > Brievly, what I'm looking for is a query that launch > something like this: > > Giving the user search expression > "A B C D" > > Generated Lucene query : > (myfield:I OR myfield:J OR myfield:O OR myfield:K) > > if someone knows a way to reach this goal, please tell me how, i'm > a

Re: question about synonyms

2007-02-13 Thread Yonik Seeley
On 2/13/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : To be clear, no clean way to do *expansion* as opposed to reduction at : query time, when the alternatives are of different lengths. Reduction at query time doesn't work either ... when query parser sees the string: my best buy ..

Re: question about synonyms

2007-02-13 Thread Chris Hostetter
: To be clear, no clean way to do *expansion* as opposed to reduction at : query time, when the alternatives are of different lengths. Reduction at query time doesn't work either ... when query parser sees the string: my best buy ...it analyzes each white space sepearted string seperately

Re: question about synonyms

2007-02-13 Thread Yonik Seeley
On 2/13/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I am using the synonyms only at query time. : Below is the field analysis. FYI: I think what yonik ment was the section of your schema.xml that defines the fieldtype. : It seems like the culpit is the space in the phrase "best buy" in :

Re: question about synonyms

2007-02-13 Thread Chris Hostetter
: I am using the synonyms only at query time. : Below is the field analysis. FYI: I think what yonik ment was the section of your schema.xml that defines the fieldtype. : It seems like the culpit is the space in the phrase "best buy" in : synonyms.txt. because of some limitations in the way Ana

Re: question about synonyms

2007-02-13 Thread nick19701
Yonik Seeley wrote: > > Are you using the synonyms at index time, query time, or both? > Did you reindex if you made changes to an "index" analyzer? > It would help if you post the fieldtype for the field you are searching. > I am using the synonyms only at query time. Below is the field analy

Re: question about synonyms

2007-02-13 Thread Yonik Seeley
On 2/13/07, nick19701 <[EMAIL PROTECTED]> wrote: Hi, I put this line in my synonyms.txt bestbuy,bb,best buy I expect that when bb is searched, all results including "bestbuy", "bb" or "best buy" will be returned. But in my test I only got back the results which include "bestbuy" or "best buy".