On Sun, Jun 9, 2019 at 8:53 PM Tomoko Uchida <tomoko.uchida.1...@gmail.com> wrote: > > Hi, > > What analyzer do you use for the text field? Is the term "Main" > correctly indexed?
Agreed. Also, it would be good if you could post your actual code. What analyzer are you using? If you are using StandardAnalyzer, then all of your terms while indexing will be lowercased, AFAIK, but your query will not be analyzed until you run a QueryParser on it. Atri -- Regards, Atri Apache Concerted --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org