Lucene tập 2

http://lucene.apache.org/java/2_3_2/queryparsersyntax.html Grouping Lucene supports using parentheses to group clauses to form sub queries. This can be very useful if you want to control the boolean logic for a query. To search for either “jakarta” or “apache” and “website” use the query: (jakarta OR apache) AND website This eliminates any confusion and makes sure you that … Read more