Package org.hibernate.search.backend

Examples of org.hibernate.search.backend.UpdatableBackendQueueProcessorFactory


    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = factoryState.getBackendQueueProcessorFactory();
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = (UpdatableBackendQueueProcessorFactory) backend;
      updatableBackend.updateDirectoryProviders( factoryState.getDirectoryProviderData().keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    SearchFactoryImplementorWithShareableState factory = new ImmutableSearchFactory( factoryState );
    rootFactory.setDelegate( factory );
View Full Code Here


    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = this.backendQueueProcessorFactory;
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = ( UpdatableBackendQueueProcessorFactory ) backend;
      updatableBackend.updateDirectoryProviders( this.dirProviderData.keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    StateSearchFactoryImplementor factory = new ImmutableSearchFactory( this );
    rootFactory.setDelegate( factory );
View Full Code Here

    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = factoryState.getBackendQueueProcessorFactory();
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = (UpdatableBackendQueueProcessorFactory) backend;
      updatableBackend.updateDirectoryProviders( factoryState.getDirectoryProviderData().keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    SearchFactoryImplementorWithShareableState factory = new ImmutableSearchFactory( factoryState );
    rootFactory.setDelegate( factory );
View Full Code Here

    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = factoryState.getBackendQueueProcessorFactory();
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = ( UpdatableBackendQueueProcessorFactory ) backend;
      updatableBackend.updateDirectoryProviders( factoryState.getDirectoryProviderData().keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    SearchFactoryImplementorWithShareableState factory = new ImmutableSearchFactory( factoryState );
    rootFactory.setDelegate( factory );
View Full Code Here

    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = factoryState.getBackendQueueProcessorFactory();
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = (UpdatableBackendQueueProcessorFactory) backend;
      updatableBackend.updateDirectoryProviders( factoryState.getDirectoryProviderData().keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    SearchFactoryImplementorWithShareableState factory = new ImmutableSearchFactory( factoryState );
    rootFactory.setDelegate( factory );
View Full Code Here

    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = factoryState.getBackendQueueProcessorFactory();
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = (UpdatableBackendQueueProcessorFactory) backend;
      updatableBackend.updateDirectoryProviders( factoryState.getDirectoryProviderData().keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    SearchFactoryImplementorWithShareableState factory = new ImmutableSearchFactory( factoryState );
    rootFactory.setDelegate( factory );
View Full Code Here

    fillSimilarityMapping();

    //update backend
    final BackendQueueProcessorFactory backend = this.backendQueueProcessorFactory;
    if ( backend instanceof UpdatableBackendQueueProcessorFactory ) {
      final UpdatableBackendQueueProcessorFactory updatableBackend = ( UpdatableBackendQueueProcessorFactory ) backend;
      updatableBackend.updateDirectoryProviders( this.dirProviderData.keySet(), buildContext );
    }
    //safe for incremental init at least the ShredBufferReaderProvider
    //this.readerProvider = ReaderProviderFactory.createReaderProvider( cfg, this );
    StateSearchFactoryImplementor factory = new ImmutableSearchFactory( this );
    rootFactory.setDelegate( factory );
View Full Code Here

TOP

Related Classes of org.hibernate.search.backend.UpdatableBackendQueueProcessorFactory

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.