Package org.springmodules.lucene.search.core

Examples of org.springmodules.lucene.search.core.QueryCreator


  /**
   *
   */
  public List getDocumentFields(final String fieldIdentifier,final String fieldValue) {
    List fieldsDocuments = getLuceneSearcherTemplate().search(new QueryCreator() {
      public Query createQuery(Analyzer analyzer) throws ParseException {
        return new TermQuery(new Term(fieldIdentifier, fieldValue));
      }
    }, new HitExtractor() {
      public Object mapHit(int id, Document document, float score) {
View Full Code Here

TOP

Related Classes of org.springmodules.lucene.search.core.QueryCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.