net.conquiris.api.search
Interface HitMapper<T>

Type Parameters:
T - Type of the custom object.
All Superinterfaces:
com.google.common.base.Function<Hit,T>
All Known Implementing Classes:
AbstractHitMapper

public interface HitMapper<T>
extends com.google.common.base.Function<Hit,T>

Mapper from a search hit to a custom object.

Author:
Andres Rodriguez

Method Summary
 org.apache.lucene.document.FieldSelector getFieldSelector()
          Returns the field selector to use.
 
Methods inherited from interface com.google.common.base.Function
apply, equals
 

Method Detail

getFieldSelector

org.apache.lucene.document.FieldSelector getFieldSelector()
Returns the field selector to use.

Returns:
The field selector or null if no selector is used.


Copyright © 2012 Derquinse Projects.. All Rights Reserved.