net.sf.lucis.core
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, Document doc, Multimap<String,String> fragments)
           
 

Method Detail

map

T map(int id,
      float score,
      Document doc,
      Multimap<String,String> fragments)
Parameters:
id -
score -
doc -
fragments - not null multimap of highlighter fragments
Returns:


Copyright © 2013. All Rights Reserved.