mirror of https://github.com/apache/lucene.git
SOLR-8525: fix a few places that were failing to pass dimensional values settings when copying a FieldInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723845 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
162d8caf77
commit
5e3f72645c
|
@ -140,6 +140,10 @@ Bug Fixes
|
|||
|
||||
* SOLR-8485: SelectStream now properly handles non-lowercase and/or quoted select field names (Dennis Gove)
|
||||
|
||||
* SOLR-8525: Fix a few places that were failing to pass dimensional
|
||||
values settings when copying a FieldInfo (Ishan Chattopadhyaya via
|
||||
Mike McCandless)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
* SOLR-7876: Speed up queries and operations that use many terms when timeAllowed has not been
|
||||
|
|
|
@ -741,7 +741,8 @@ public class ExpandComponent extends SearchComponent implements PluginInfoInitia
|
|||
DocValuesType.NONE,
|
||||
fieldInfo.getDocValuesGen(),
|
||||
fieldInfo.attributes(),
|
||||
0, 0);
|
||||
fieldInfo.getDimensionCount(),
|
||||
fieldInfo.getDimensionNumBytes());
|
||||
newInfos.add(f);
|
||||
|
||||
} else {
|
||||
|
|
|
@ -67,7 +67,7 @@ public class Insanity {
|
|||
if (fi.name.equals(insaneField)) {
|
||||
filteredInfos.add(new FieldInfo(fi.name, fi.number, fi.hasVectors(), fi.omitsNorms(),
|
||||
fi.hasPayloads(), fi.getIndexOptions(), DocValuesType.NONE, -1, Collections.emptyMap(),
|
||||
0, 0));
|
||||
fi.getDimensionCount(), fi.getDimensionNumBytes()));
|
||||
} else {
|
||||
filteredInfos.add(fi);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue