Although Lucene provides the ability to create your own queries through its API, it also provides a rich query language through the Query Parser, a lexer which interprets a string into a Lucene Query using JavaCC.
This page provides the Query Parser syntax in Lucene 1.9. If you are using a different version of Lucene, please consult the copy of docs/queryparsersyntax.html that was distributed with the version you are using.
Citer ce billet
B. Cénou (2008, 26 novembre). Apache Lucene – Query Parser Syntax. Cléo Radar. Consulté le 23 février 2024, à l’adresse https://doi.org/10.58079/mw0o