lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khalid y <kern...@gmail.com>
Subject Re: Solr Search in stemmed and non stemmed mode
Date Mon, 07 Dec 2009 17:00:45 GMT
Thanks,

I'll read the mail archive.

Your suggestion is like mine but whitout the DisMax handler. I'm going to
read what is this handler.
I have one field text and another text_unstemmed where I copy all others
fields. I'm writing my custom query handler who check if quotes exists and
switch between the good field.

Going to read...

Thanks


2009/12/7 Erick Erickson <erickerickson@gmail.com>

> Try searching the mail archive for
> stemmer exact match
> or similar, this has been discussed multiple times and you'll get more
> complete discussions waaaay faster....
>
> One suggestion is to use two fields, one for the stemmed version
> and one for the original, then use whichever field you need to via
> DixMax handler (more detail in the mail archive).
>
> Best
> Erick
>
> On Mon, Dec 7, 2009 at 10:02 AM, khalid y <kernity@gmail.com> wrote:
>
> > Hi !!
> >
> > I'm looking for a way to have two index in solr one stemmed and another
> non
> > stemmed. Why ? It's simple :-)
> >
> > My users can do query for  :
> > -  banking marketing =>  it return all document matches bank*** and
> > market***
> > - "banking" marketing => it return all document matches "banking" and
> > market***
> >
> > The second request need that I can switch between stemmed and not stemmed
> > when the user write the keyword with quotes.
> >
> > The  optimal solution is : solr can mix gracefully results from stemmed
> and
> > non stemmed index, with a good score calculation ect...
> >
> > The near optimal solution is : if solr see " " it switch in non stemmed
> mod
> > for all key words in query
> >
> > I have an idea but I prefer to listen the comunity voice before to
> propose
> > it. I'll expose it in my next post.
> >
> > If someone has an graceful idea to do this craps :-)
> >
> > Thanks
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message