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
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