[Xapian-discuss] QueryParser lowercase / uppercase and stemming

James Aylett james-xapian at tartarus.org
Thu May 18 12:09:57 BST 2006


On Wed, May 17, 2006 at 10:55:23PM +0100, Olly Betts wrote:

> >    $myQueryParser->setStemmingStrategy(STEM_ALL);
> 
> I'm not that familiar with Daniel's wrappers, but my guess is that
> STEM_ALL isn't the correct name for this constant, so you're passing the
> string "STEM_ALL" in here which probably gets interpreted as 0, meaning
> "don't stem anything".
> 
> One of PHP's nastier features that...

E_STRICT is your friend :-)

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list