Class JoiningTextMultiValuesSource
java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.docvalues.impl.TextMultiValuesSource
org.hibernate.search.backend.lucene.lowlevel.docvalues.impl.JoiningTextMultiValuesSource
A source of
TextMultiValues that automatically fetches values from nested documents if necessary.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJoiningTextMultiValuesSource(NestedDocsProvider nestedDocsProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic JoiningTextMultiValuesSourcefromField(String field, NestedDocsProvider nested) Creates aJoiningTextMultiValuesSourcethat wraps a text-valued fieldprotected abstract org.apache.lucene.index.SortedSetDocValuesgetSortedSetDocValues(org.apache.lucene.index.LeafReaderContext ctx) getValues(org.apache.lucene.index.LeafReaderContext ctx) inthashCode()protected TextMultiValuesselect(org.apache.lucene.index.SortedSetDocValues values, ChildDocIds childDocsWithValues)
-
Field Details
-
nestedDocsProvider
-
-
Constructor Details
-
JoiningTextMultiValuesSource
-
-
Method Details
-
fromField
Creates aJoiningTextMultiValuesSourcethat wraps a text-valued field- Parameters:
field- the fieldnested- the nested provider- Returns:
- A
JoiningTextMultiValuesSource
-
equals
-
hashCode
public int hashCode() -
getValues
- Specified by:
getValuesin classTextMultiValuesSource- Returns:
- a
TextMultiValuesinstance for the passed-in LeafReaderContext. - Throws:
IOException
-
getSortedSetDocValues
protected abstract org.apache.lucene.index.SortedSetDocValues getSortedSetDocValues(org.apache.lucene.index.LeafReaderContext ctx) throws IOException - Throws:
IOException
-
select
protected TextMultiValues select(org.apache.lucene.index.SortedSetDocValues values, ChildDocIds childDocsWithValues)
-