Class UntokenizedTitleExtractor
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.extractor.UntokenizedTitleExtractor
-
- All Implemented Interfaces:
Extractor2
public class UntokenizedTitleExtractor extends Object implements Extractor2
Extracts and indexes an untokenized title for sorting.From javadoc of
Sort
:"... String term values can contain any valid String, but should not be tokenized ...".
See also: CONFSERVER-5322
- Since:
- 7.20
-
-
Constructor Summary
Constructors Constructor Description UntokenizedTitleExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FieldDescriptor>
extractFields(Object searchable)
Extract fields from the searchable object.StringBuilder
extractText(Object searchable)
Always returns an empty buffer.
-
-
-
Method Detail
-
extractText
public StringBuilder extractText(Object searchable)
Always returns an empty buffer.- Specified by:
extractText
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- an empty buffer
-
extractFields
public Collection<FieldDescriptor> extractFields(Object searchable)
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- collection of fields extracted from the searchable object
-
-