mirror of https://github.com/apache/lucene.git
Generics got lost during merge. Seen by the only unchecked warning (core now compiles without any unchecked warning!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35fb2e4950
commit
1686dac7f9
|
@ -37,7 +37,7 @@ import org.apache.lucene.util.Version;
|
||||||
public class MultiFieldQueryParser extends QueryParser
|
public class MultiFieldQueryParser extends QueryParser
|
||||||
{
|
{
|
||||||
protected String[] fields;
|
protected String[] fields;
|
||||||
protected Map<String,Float> boosts;
|
protected Map<String,Float> boosts;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a MultiFieldQueryParser.
|
* Creates a MultiFieldQueryParser.
|
||||||
|
@ -66,7 +66,7 @@ public class MultiFieldQueryParser extends QueryParser
|
||||||
* <p>In other words, all the query's terms must appear, but it doesn't matter in
|
* <p>In other words, all the query's terms must appear, but it doesn't matter in
|
||||||
* what fields they appear.</p>
|
* what fields they appear.</p>
|
||||||
*/
|
*/
|
||||||
public MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer, Map boosts) {
|
public MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer, Map<String,Float> boosts) {
|
||||||
this(matchVersion, fields, analyzer);
|
this(matchVersion, fields, analyzer);
|
||||||
this.boosts = boosts;
|
this.boosts = boosts;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue