Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
Modifier and Type | Field and Description |
---|---|
OrdinalMap |
MultiDocValues.MultiSortedDocValues.mapping
ordinal map mapping ords from
values to global ord space |
OrdinalMap |
MultiDocValues.MultiSortedSetDocValues.mapping
ordinal map mapping ords from
values to global ord space |
Modifier and Type | Method and Description |
---|---|
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
SortedDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedDocValues instance as a weight. |
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
SortedSetDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedSetDocValues instance as a weight. |
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
TermsEnum[] subs,
long[] weights,
float acceptableOverheadRatio)
Creates an ordinal map that allows mapping ords to/from a merged
space from
subs . |
Constructor and Description |
---|
MultiSortedDocValues(SortedDocValues[] values,
int[] docStarts,
OrdinalMap mapping,
long totalCost)
Creates a new MultiSortedDocValues over
values |
MultiSortedSetDocValues(SortedSetDocValues[] values,
int[] docStarts,
OrdinalMap mapping,
long totalCost)
Creates a new MultiSortedSetDocValues over
values |
Modifier and Type | Method and Description |
---|---|
static Query |
JoinUtil.createJoinQuery(java.lang.String joinField,
Query fromQuery,
Query toQuery,
IndexSearcher searcher,
ScoreMode scoreMode,
OrdinalMap ordinalMap)
Delegates to
JoinUtil.createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, OrdinalMap, int, int) ,
but disables the min and max filtering. |
static Query |
JoinUtil.createJoinQuery(java.lang.String joinField,
Query fromQuery,
Query toQuery,
IndexSearcher searcher,
ScoreMode scoreMode,
OrdinalMap ordinalMap,
int min,
int max)
A query time join using global ordinals over a dedicated join field.
|
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.