net.conquiris.api.search
Interface DocMapper<T>
- Type Parameters:
T - Type of the custom object.
public interface DocMapper<T>
Mapper from a Lucene document to a custom object.
- Author:
- Andres Rodriguez, Emilio Escobar Reyero
|
Method Summary |
T |
map(int id,
float score,
org.apache.lucene.document.Document doc,
com.google.common.collect.Multimap<String,String> fragments)
|
map
T map(int id,
float score,
org.apache.lucene.document.Document doc,
com.google.common.collect.Multimap<String,String> fragments)
- Parameters:
id - score - doc - fragments - not null multimap of highlighter fragments
- Returns:
Copyright © 2012 Derquinse Projects.. All Rights Reserved.