From: Demian K. <dem...@vi...> - 2009-09-22 18:53:04
|
That's great -- I was aware of the stopwords bug, but I didn't realize it could be solved so painlessly. Thanks for sharing this! I have committed the fix to the trunk. - Demian > -----Original Message----- > From: Tuan Nguyen [mailto:tu...@yo...] > Sent: Tuesday, September 22, 2009 11:56 AM > To: vuf...@li... > Subject: [VuFind-Tech] dismax and stop words > > Not sure if anyone working on this but I don't see it in the trunk > yet. Here is a patch to get dismax handlers to return results when > stop words are used in search terms. It appears that when we're using > the dismax handlers, all fields need to agree on the same set of > stopwords according to http://www.nabble.com/Dismax-Minimum-Match- > Stopwords-Bug-td20960507.html > > > > Index: solrconfig.xml > =================================================================== > --- solrconfig.xml (revision 1497) > +++ solrconfig.xml (working copy) > @@ -449,7 +449,7 @@ > <str name="echoParams">explicit</str> > <str name="qf"> > title_short^500 > - title_fullStr^400 > + title_full^400 > title^300 > title_alt^200 > title_new^100 > @@ -474,7 +474,7 @@ > <str name="echoParams">explicit</str> > <str name="qf"> > title_short^500 > - title_fullStr^400 > + title_full^400 > title^300 > title_alt^200 > title_new^100 > @@ -496,7 +496,7 @@ > <str name="echoParams">explicit</str> > <str name="qf"> > title_short^750 > - title_fullStr^400 > + title_full^400 > title^500 > title_alt^200 > title_new^100 > > > ----------------------------------------------------------------------- > ------- > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech |