net.conquiris.api.search
Class Highlight

java.lang.Object
  extended by net.conquiris.api.search.Highlight

public abstract class Highlight
extends Object

Highlight configuration.

Author:
Emilio Escobar Reyero, Andres Rodriguez

Nested Class Summary
static class Highlight.HighlightedQuery
           
 
Method Summary
abstract  Highlight.HighlightedQuery highlight(Query query)
          Highlight a query with this configuration.
static Highlight no()
           
static Highlight of(Analyzer analyzer, Formatter formatter, Map<String,Integer> fields)
           
static Highlight of(Map<String,Integer> fields)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.