I just started to use neo4j and apache lucene,I have a requirement to allow users to use "NOT" operator on a single term. Since the NOT operator cannot be used with just one term, how can i achieve this?
I indexed my files using neo4j Indexing Framework,
when constructing the query, I combined the NOT statement with MatchAllDocsQuery using the below code
Then, I query the db using below code and a NullException occurs