[Xapian-discuss] using synonyms

Dr.BYTE at web.de Dr.BYTE at web.de
Tue Oct 21 13:46:38 BST 2008


> > but it doesn't map pizza to fastfood. i think it should be result in
> > "food:(pizza OR fastfood)"
> 
> Have you added FLAG_AUTO_SYNOYNMS to the QueryParser?

sry, i forget to mention i did add it. following flags are added, maybe another flag cause problems with synonyms?

XapianQueryParser::FLAG_BOOLEAN | XapianQueryParser::FLAG_PHRASE | XapianQueryParser::FLAG_LOVEHATE | XapianQueryParser::FLAG_WILDCARD | XapianQueryParser::FLAG_AUTO_SYNONYMS

regards,
sven
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html




More information about the Xapian-discuss mailing list