Package com.atlassian.jira.search.lucene
Class DefaultDocumentMapper
java.lang.Object
com.atlassian.jira.search.lucene.DefaultDocumentMapper
- All Implemented Interfaces:
DocumentMapper
A default mapper for converting between Jira
Document and Lucene
Document.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.document.DocumentConverts a collection of field values to a LuceneDocument.
-
Constructor Details
-
DefaultDocumentMapper
-
-
Method Details
-
fieldValuesToLuceneDocument
Description copied from interface:DocumentMapperConverts a collection of field values to a LuceneDocument.- Specified by:
fieldValuesToLuceneDocumentin interfaceDocumentMapper- Parameters:
fvs- the field values to convert- Returns:
- the converted Lucene
Document
-