Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8
-
None
-
None
Description
API document on
Query.parse(String queryString,
String queryLang,
Configuration conf)
does not explain what queryLang is, and should be explained.
There can be at least two interpretations:
(1) Create a Query that restricts the search to include only the documents written in the specified language. So this would
be equivalent of specifying "lang:xx" where xx is a two-letter language code.
(2) Create a Query interpreting the queryString according to the rules of the specified languages. In reality, this is used to
select the proper language Analyzer to parse the query string.
I am guessing that (2) is intended.