I've the following lucene index:
Document A
item = level:(1)
item = level:(2)
item = level:(3)
Document B
item = level:(1)
item = level:(4)
Suppose I want to search for all documents which contain level:(1) AND level:(2) ?
The Lucene query could be like:
"item:level\:\(1\) AND level\:\(2\)"
but is it also possible to do something like this:
"item:level\:\(1 OR 2\)"
?
(The reason for this is that I don't want to repeat the string "level\:"
)