mirror of https://github.com/apache/lucene.git
SOLR-1125: Use query analyzer rather than index analyzer for queryFieldType in QueryElevationComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@767754 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
742731754d
commit
e0fb06b436
|
@ -332,6 +332,9 @@ Bug Fixes
|
|||
|
||||
36. SOLR-1104: Fix some rounding errors in LukeRequestHandler's histogram (hossman)
|
||||
|
||||
37. SOLR-1125: Use query analyzer rather than index analyzer for queryFieldType in QueryElevationComponent
|
||||
(koji)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
1. Upgraded to Lucene 2.4.0 (yonik)
|
||||
|
|
|
@ -151,7 +151,7 @@ public class QueryElevationComponent extends SearchComponent implements SolrCore
|
|||
throw new SolrException( SolrException.ErrorCode.SERVER_ERROR,
|
||||
"Unknown FieldType: '"+a+"' used in QueryElevationComponent" );
|
||||
}
|
||||
analyzer = ft.getAnalyzer();
|
||||
analyzer = ft.getQueryAnalyzer();
|
||||
}
|
||||
|
||||
SchemaField sf = core.getSchema().getUniqueKeyField();
|
||||
|
|
Loading…
Reference in New Issue