That's interesting. I suppose you could add the "synonym" of WildAnimals$ whenever you encountered any of the items in your list, then when concept searching is called for, search on WildAnimals$.
Highlighting might be tricky, but certainly do-able, especially with the capabilities of a MemoryIndex...... Erick On 5/16/07, Steven Rowe <[EMAIL PROTECTED]> wrote:
Hi Charles, The need presented by your use case sounds very similar to that served by the SynonymAnalyzer given in Erik Hatcher's and Otis Gospodnetic's excellent book "Lucene in Action" - take a look: http://lucenebook.com/ Steve Charles Patridge wrote: > I have looked around on Lucene web site as well as some documentation > but have not found anything to do with Concept Search. > > My definition of Concept Search is as follows: > > 1. I would have a file (list) of various phrases / N-grams which I > would like to Lucene to use as a search basis without having to type in > all these phrases manually, and have Lucene return the results as it > would normally if a single search query was entered. > > 2. An example would be - find !Wild_Animals! - where the "!" would > indicate that this is a search that would use a file (ie > Wild_Animals.txt) and read in the various phrases within this file and perform the > search in the corpus for these phrases. > > 3. The contents of Wild_Animals.txt could look like this: > BUFFALO > BEAR > MOOSE > COYOTE > WOLF > MOUNTAIN GOAT > MOUNTAIN SHEEP > DALL SHEEP > DEER > KODIAK BEAR > BROWN BEAR > BLACK BEAR > etc etc etc > > 4. Is my idea of a Concept Search feasible / doable??? If so, can > you point me to any documentation that exists whereby this could be done > within Lucene > > Please send any info you have on this to me - > [EMAIL PROTECTED] > > Thank you in advance for your time and efforts. > > > > Charles S Patridge - PDPC, Ltd. > 172 Monce Road - Burlington, CT 06013 USA > Email: [EMAIL PROTECTED] > Web: http://www.sconsig.com > Web: http://pages.prodigy.net/charles_s_patridge > Web: http://www.munic.state.ct.us/burlington --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]