lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Pachuri <anilpach...@yahoo.com>
Subject [lucy-user] query parsing
Date Thu, 27 Dec 2012 20:06:53 GMT
Hi,


I was wondering how I could use Lucy for the following example: a phrase query "baby diaper
color" is able to match the following phrases in the documents:

baby's diaper color
baby diaper's color
color of baby diaper
color of the baby diaper
coloring of baby diaper
color of the diaper of the baby
baby diaper colour (with extra 'u')
baby diaper including color
baby diaper with color

I tried to explore Lucy phrasequery parser for this but it looks like phrasequery parser may
not work entirely in this case due to its strict word order rule. I am not sure if I need
to pass those phrases to Lucy as explicit synonyms in some way, or is there is better way?
Please advise.

Thank you,
Anil

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