You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2007/02/27 17:56:06 UTC
[jira] Updated: (LUCENE-796) Change Visibility of fields[] in
MultiFieldQueryParser
[ https://issues.apache.org/jira/browse/LUCENE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-796:
--------------------------------------
Fix Version/s: (was: 2.1)
2.2
> Change Visibility of fields[] in MultiFieldQueryParser
> ------------------------------------------------------
>
> Key: LUCENE-796
> URL: https://issues.apache.org/jira/browse/LUCENE-796
> Project: Lucene - Java
> Issue Type: Improvement
> Components: QueryParser
> Affects Versions: 2.1
> Environment: not important
> Reporter: Oliver Hummel
> Fix For: 2.2
>
>
> In MultiFieldQueryParser the two methods
> protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException
> protected Query getWildcardQuery(String field, String termStr) throws ParseException
> are intended to be overwritten if one would like to avoid fuzzy and wildcard queries. However, the String[] fields attribute of this class is private and hence it is not accessible in subclasses of MFQParser. If you just change it to protected this issue should be solved.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org