You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2006/10/24 18:16:48 UTC
[jira] Closed: (NUTCH-317) Clarify what the queryLanguage argument
of Query.parse(...) means
[ http://issues.apache.org/jira/browse/NUTCH-317?page=all ]
Sami Siren closed NUTCH-317.
----------------------------
> Clarify what the queryLanguage argument of Query.parse(...) means
> -----------------------------------------------------------------
>
> Key: NUTCH-317
> URL: http://issues.apache.org/jira/browse/NUTCH-317
> Project: Nutch
> Issue Type: Bug
> Components: searcher
> Affects Versions: 0.8
> Reporter: KuroSaka TeruHiko
> Fix For: 0.8
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira