net.conquiris.api.search
Interface SearcherService

All Superinterfaces:
Searcher

public interface SearcherService
extends Searcher

Conquiris Searcher Service. Each independent call may used a different lucene searcher.

Author:
Andres Rodriguez

Method Summary
<T> T
search(Function<Searcher,T> query)
          Perform a personalized and potentially compound query.
 
Methods inherited from interface net.conquiris.api.search.Searcher
doc, getCount, getFirst, getPage, rewrite, search, search, search
 

Method Detail

search

<T> T search(Function<Searcher,T> query)
Perform a personalized and potentially compound query. The searcher provided to the query performs every operation using a single lucene searcher is guaranteed to be open only during the execution of the operation.

Parameters:
query - Query to perform.
Returns:
The query result.


Copyright © 2012 Derquinse Projects.. All Rights Reserved.