I have a "description" field indexed in Lucene.This field contains a book's description.
How do i achieve "All of these words" functionality on this field using BooleanQuery class?
For example if a user ...
I'm working on "all of these words" feature using Lucene.
I'm using StandardAnalyzer without any stop words.
When user types in words which contain "the", "and" etc, lucene does not return any result.
I want lucene to search for hyphenated words,
for eg: energy-efficient or "energy-efficient" as one single word
So if the input is energy-efficient the tokenizer generates terms like
energy or efficient or energy ...