If I'm interpreting your need correctly, you want to index untokenized strings, is it? Even if you aren't looking for untokenized indexing, you could always use/design a suitable analyzer which indexes your docuement exactly as you want, Yes, what you also are looking at is some kind of a synonym analyzer so that. *cold icecream * is also indexed (and so is searchable as ) *chilled icecream*. This is completely doable using Lucene.
-- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw............ On Thu, May 14, 2009 at 5:58 AM, Ridzwan Aminuddin <r...@world-check.com>wrote: > Hi all, > > Is Lucene able to index phrases instead if individual terms? If it is, can > we also feed it a 'thesaurus or dictionary' of phrases that it should look > out for when indexing. Thanks in advance, > > Ridzwan >