paulirwin commented on issue #907: URL: https://github.com/apache/lucenenet/issues/907#issuecomment-1908842049
Okay, this happens in Java Lucene too, it's because you're passing `null` in as the default field to the QueryParser constructor. You need to specify a default field for if a field is not present in the query, like in this case. i.e. if you want your default field to search to be "Text", you'd pass `"Text"` in as that second parameter instead of `null`. Let me know if this fixes your issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org