RE: solr synonyms behaviour

2008-07-28 Thread Laurent Gilles
what synonym matching if the user only types part of synonymic expression. Regards, Laurent -Message d'origine- De : swarag [mailto:[EMAIL PROTECTED] Envoyé : vendredi 25 juillet 2008 23:48 À : solr-user@lucene.apache.org Objet : Re: solr synonyms behaviour swarag wrote: Yonik

Re: solr synonyms behaviour

2008-07-25 Thread swarag
swarag wrote: Yonik Seeley wrote: On Tue, Jul 15, 2008 at 2:27 PM, swarag [EMAIL PROTECTED] wrote: To my understanding, this means I am using synonyms at index time and NOT query time. And yet, I am still having these problems with synonyms. Can you give a specific example? Use

Re: solr synonyms behaviour

2008-07-15 Thread Guillaume Smet
Chris, On Sat, Jan 26, 2008 at 2:30 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : I have the synonym filter only at query time coz i can't re-index data (or : portion of data) everytime i add a synonym and a couple of other reasons. Use cases like yours will *never* work as a query time

Re: solr synonyms behaviour

2008-07-15 Thread matt connolly
swarag wrote: Knowing the Lucene struggles with multi-word query-time synonyms, my question is, does this also affect index-time synonyms? What other alternatives do we have if we require there to be multiple word synonyms? No the multiple word problem doesn't happen with index synonyms,

Re: solr synonyms behaviour

2008-07-15 Thread swarag
matt connolly wrote: swarag wrote: Knowing the Lucene struggles with multi-word query-time synonyms, my question is, does this also affect index-time synonyms? What other alternatives do we have if we require there to be multiple word synonyms? No the multiple word problem doesn't

Re: solr synonyms behaviour

2008-07-15 Thread matt connolly
You won't have the multiple word problem if you use synonyms at index time instead of query time. swarag wrote: Here is a basic example of some synonyms in my synonyms.txt: club=club,bar,night cabaret bar=bar,club As you can see, a search for 'bar' will return any documents with 'bar'

Re: solr synonyms behaviour

2008-07-15 Thread swarag
matt connolly wrote: You won't have the multiple word problem if you use synonyms at index time instead of query time. swarag wrote: Here is a basic example of some synonyms in my synonyms.txt: club=club,bar,night cabaret bar=bar,club As you can see, a search for 'bar' will

Re: solr synonyms behaviour

2008-07-15 Thread Yonik Seeley
On Tue, Jul 15, 2008 at 2:27 PM, swarag [EMAIL PROTECTED] wrote: To my understanding, this means I am using synonyms at index time and NOT query time. And yet, I am still having these problems with synonyms. Can you give a specific example? Use debugQuery=true to see what the resulting query

Re: solr synonyms behaviour

2008-07-15 Thread swarag
Yonik Seeley wrote: On Tue, Jul 15, 2008 at 2:27 PM, swarag [EMAIL PROTECTED] wrote: To my understanding, this means I am using synonyms at index time and NOT query time. And yet, I am still having these problems with synonyms. Can you give a specific example? Use debugQuery=true to

Re: solr synonyms behaviour

2008-07-08 Thread swarag
hossman wrote: This is Issue #1 regarding trying to use query time multi word synonyms discussed on the wiki... The Lucene QueryParser tokenizes on white space before giving any text to the Analyzer, so if a person searches for the words sea biscit the analyzer will be given the

Re: solr synonyms behaviour

2008-01-25 Thread Chris Hostetter
: so when i do a debug this is the parsedquery_tostring i see: : (((text:divorc^0.8 | name:divorc^2.0)~0.01 (text:mediat^0.8 | : name:mediat^2.0)~0.01)~2) (text:(divorc altern) (disput mediat) : resolut~5^0.8 | name:(divorc altern) (disput mediat) resolut~5^2.0)~0.01 FYI: it's very hard to make