Package org.hibernate.search.query.engine.impl

Examples of org.hibernate.search.query.engine.impl.ReusableDocumentStoredFieldVisitor


      assertFieldSelectorDisabled();
    }
    else {
      assertNotNull( FieldSelectorLeakingReaderProvider.fieldSelector );
      assertTrue( fieldSelector instanceof ReusableDocumentStoredFieldVisitor );
      ReusableDocumentStoredFieldVisitor visitor = (ReusableDocumentStoredFieldVisitor) fieldSelector;
      assertEquals( expectedFieldNames.length, visitor.countAcceptedFields() );
      for ( String fieldName : expectedFieldNames ) {
        FieldInfo fieldId = forgeFieldInfo( fieldName );
        assertEquals( Status.YES, visitor.needsField( fieldId ) );
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.query.engine.impl.ReusableDocumentStoredFieldVisitor

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.