I am using Lucene.Net
for my indexing.
For certain fields I have a true
/false
value, that is passed to a analyzer ANALYZED
.
My questions is simple, is it better to skip the value false
and pass a empty value to the indexer and perform a search for 'false'
using BooleanQuery
and search using Occur.MUST_NOT = true
, or is it better to index it and search for Occur.MUST = false
.