We are developing an application in the following environments:
I'd like to use Lucene.net to determine if there are any words, but now when I search for the word "foo" in the title field, it says "title:foo".
So what kind of query syntax should I use to search for title: no word (blank) and title: no word (blank) in the title field?
c# lucene
Selfless.
Query query = new WildcardQuery( new Term("title", "*"));
Now we know that we can search for "title: Word with (not blank)"
Sorry for the trouble.
© 2024 OneMinuteCode. All rights reserved.