Lucene: exact matches aren't shown first
问题 I am using the demo IndexFiles and SearchFiles classes to index and search which are in org.apache.lucene.demo packet. My issue is when I use a query that contains more than a word, I am not getting results that have the exact match. For instance: Enter query: "natural language" Searching for: "natural language" 298 total matching documents 1. download\researchers.uq.edu.au\fields-of-research\natural-language-processing .txt 2. download\researchers.uq.edu.au\research-project\16267.txt 3.