RE : Re: Lucene and queries

2007-01-21 Thread david chris
thank you for your posts .. the "*" is any word .. hopefully, i should be able to identify sentences in a text and then apply one of these 3 rules .. (1) A * * find the sentences that include the word A and to its left exactly two words (any words) (2) A * * B * find the sentences that inclu

Lucene and queries

2007-01-21 Thread david chris
Hi, I am wondering if Lucene can handle the following queries: (1) A * * give me all documents with word A followed by exactly two words (2) A * * B * give me all documents with words A and B exactly separated by 2 words and word B followed by one word (3) * * A give me all documents with word A