You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "KuroSaka TeruHiko (JIRA)" <ji...@apache.org> on 2006/07/01 01:40:30 UTC
[jira] Created: (NUTCH-317) Clarify what the queryLanguage argument
of Query.parse(...) means
Clarify what the queryLanguage argument of Query.parse(...) means
-----------------------------------------------------------------
Key: NUTCH-317
URL: http://issues.apache.org/jira/browse/NUTCH-317
Project: Nutch
Type: Bug
Components: searcher
Versions: 0.8-dev
Reporter: KuroSaka TeruHiko
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
[jira] Resolved: (NUTCH-317) Clarify what the queryLanguage
argument of Query.parse(...) means
Posted by "Jerome Charron (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/NUTCH-317?page=all ]
Jerome Charron resolved NUTCH-317:
----------------------------------
Fix Version: 0.8-dev
Resolution: Fixed
Fixed
> Clarify what the queryLanguage argument of Query.parse(...) means
> -----------------------------------------------------------------
>
> Key: NUTCH-317
> URL: http://issues.apache.org/jira/browse/NUTCH-317
> Project: Nutch
> Type: Bug
> Components: searcher
> Versions: 0.8-dev
> Reporter: KuroSaka TeruHiko
> Fix For: 0.8-dev
>
> 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