Package org.hibernate.search.bridge.util.impl

Examples of org.hibernate.search.bridge.util.impl.ContextualExceptionBridgeHelper


        fieldNames[index] = fieldsContextIterator.next().getField();
      }
      //TODO should we keep the fieldToAnalyzerMap around to pass to the analyzer?
      Map<String,String> fieldToAnalyzerMap = new HashMap<String, String>( );
      //FIXME by calling documentBuilder we don't honor .comparingField("foo").ignoreFieldBridge(): probably not a problem in practice though
      maybeDocument = documentBuilder.getDocument( (T) input, null, fieldToAnalyzerMap, null, new ContextualExceptionBridgeHelper(), fieldNames );
      vectors = null;
    }
    else {
      vectors = indexReader.getTermVectors( documentNumber );
    }
View Full Code Here


  }

  @Override
  public Query createQuery() {
    final int size = fieldsContext.size();
    final ConversionContext conversionContext = new ContextualExceptionBridgeHelper();
    if ( size == 1 ) {
      return queryCustomizer.setWrappedQuery( createQuery( fieldsContext.getFirst(), conversionContext ) ).createQuery();
    }
    else {
      BooleanQuery aggregatedFieldsQuery = new BooleanQuery();
View Full Code Here

TOP

Related Classes of org.hibernate.search.bridge.util.impl.ContextualExceptionBridgeHelper

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.