Bhavin Pandya wrote:
Hi guys,
How to fire "digital camera" when someone fire "digital cam" .. ?
Do i need to make manual list for such items and look up at search time
or theree is any better way to do this...
You will need a list, but you may not need to make it manually (look at
WordNet, I'm not saying that it will have this exact example you just
gave, but it has many others which would at least cut down your workload.)
I would do this by extending QueryParser and overriding the relevant
methods. It will be somewhat more difficult to handle phrase queries
since the number of permutations will increase as the number of words in
the phrase increases. But at least it would give you a way to do it
without actually performing multiple searches.
Daniel
--
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699
Web: http://www.nuix.com.au/ Fax: +61 2 9212 6902
This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]