de.pangaea.metadataportal.search.axis
Class SearchServiceImpl

java.lang.Object
  extended by de.pangaea.metadataportal.search.axis.SearchServiceImpl

public class SearchServiceImpl
extends Object


Constructor Summary
SearchServiceImpl(String cfgFile)
           
 
Method Summary
 SearchResponse defaultMoreLikeThis(String indexName, String identifier, int offset, int count)
           
 SearchResponse fieldedMoreLikeThis(String indexName, String identifier, String fieldName, int offset, int count)
           
 SearchResponseItem getDocument(String indexName, String identifier)
           
 String[] listTerms(String indexName, String fieldName, int count)
           
 String[] listTerms(String indexName, String fieldName, String prefix, int count)
           
 SearchResponse search(SearchRequest req, int offset, int count)
           
 String storeQuery(SearchRequest req)
           
 String[] suggest(String indexName, SearchRequestQuery query, int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchServiceImpl

public SearchServiceImpl(String cfgFile)
                  throws Exception
Throws:
Exception
Method Detail

search

public SearchResponse search(SearchRequest req,
                             int offset,
                             int count)
                      throws Exception
Throws:
Exception

defaultMoreLikeThis

public SearchResponse defaultMoreLikeThis(String indexName,
                                          String identifier,
                                          int offset,
                                          int count)
                                   throws Exception
Throws:
Exception

fieldedMoreLikeThis

public SearchResponse fieldedMoreLikeThis(String indexName,
                                          String identifier,
                                          String fieldName,
                                          int offset,
                                          int count)
                                   throws Exception
Throws:
Exception

getDocument

public SearchResponseItem getDocument(String indexName,
                                      String identifier)
                               throws Exception
Throws:
Exception

suggest

public String[] suggest(String indexName,
                        SearchRequestQuery query,
                        int count)
                 throws Exception
Throws:
Exception

listTerms

public String[] listTerms(String indexName,
                          String fieldName,
                          int count)
                   throws Exception
Throws:
Exception

listTerms

public String[] listTerms(String indexName,
                          String fieldName,
                          String prefix,
                          int count)
                   throws Exception
Throws:
Exception

storeQuery

public String storeQuery(SearchRequest req)
                  throws Exception
Throws:
Exception


Copyright ©2007-2009 panFMP Developers c/o Uwe Schindler