RE: solr synonyms behaviour

2008-07-29 Thread Laurent Gilles
full-text-stemmed field type. Here was our need and solution, hope this can help you to find a solution for you. Regards, Laurent -Message d'origine- De : swarag [mailto:[EMAIL PROTECTED] Envoyé : mardi 29 juillet 2008 04:08 À : solr-user@lucene.apache.org Objet : RE: solr synonyms beh

RE: solr synonyms behaviour

2008-07-28 Thread swarag
Hi Laurent Laurent Gilles wrote: > > Hi, > > I was faced with the same issues reguarding multiwords synonyms > Let's say a synonyms list like: > > club, bar, night cabaret > > Now if we have a document containing "club", with the default synonyms > filter behaviour with expand=true, we will

RE: solr synonyms behaviour

2008-07-28 Thread Laurent Gilles
en if I don’t believe to.. Fact is this approach have fixed your problem, since we didn't 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 À

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 s

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=

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 quer

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

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

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 p

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 synon

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-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

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 mak