net.conquiris.api.search
Class Highlight
java.lang.Object
net.conquiris.api.search.Highlight
public abstract class Highlight
- extends Object
Highlight configuration.
- Author:
- Emilio Escobar Reyero, Andres Rodriguez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
of
public static Highlight of(Analyzer analyzer,
Formatter formatter,
Map<String,Integer> fields)
of
public static Highlight of(Map<String,Integer> fields)
no
public static Highlight no()
highlight
public abstract Highlight.HighlightedQuery highlight(Query query)
- Highlight a query with this configuration.
- Parameters:
query - Query to highlight.
- Returns:
- The highligthed query.
Copyright © 2012 Derquinse Projects. All Rights Reserved.