|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
above
You can exclude the value above by calling .excludeLimit()
fieldName to the Lucene Document document using the value
indexedString.
fieldName to the Lucene Document document
using the value numericValue.
impl parameter
or use an external @AnalyzerDef definition through the def parameterDiscriminator implementation.BackendQueueProcessor.applyWork(List, IndexingMonitor)
null included) of an array is indexed using the specified FieldBridge.NodeSelectorStrategy picks a single master across all nodes participating
in the JGroups cluster deterministically: this way all nodes in the group will
have an agreement on which node is going to be the master.BatchedQueueingProcessor.performWorks(org.hibernate.search.backend.impl.WorkQueue) is called.below
You can exclude the value below by calling .excludeLimit()
BigInteger element.Spatial annotation.
Spatial annotation.
Spatial annotation.
ArrayBridge that can be used with Hibernate Search query DSL.IterableBridge that can be used with Hibernate Search query DSL.MapBridge that can be used with Hibernate Search query DSL.NumericFieldIterable object annotated with NumericFieldMap object annotated with NumericFieldCachingWrapperFilterCachingWrapperFilter which
uses SoftReferences instead of WeakReferences in order to cache
the filter BitSet.CharFilterFactory and its parametersFieldCacheCollectorFactory requires two parameters which are inferred from
the type of field and it's applied bridges.IndexReader if no other resource is using it
in which case the reference to this container will also be removed.
IndexReaderAccessor.open(Class...)
Analyzer or default
Similarity) and checks whether certain optional libraries are available.Spatial annotation
DirectoryBasedIndexManager.initialize(String, Properties, WorkerBuildContext)
entities and their respective subclasses.
java.util.Date to a String, truncated to the specified resolution.Version.LUCENE_CURRENT as the default Lucene version.
Field.indexNullAs() parameter indicating that null values should not indexed using the
IndexedEmbedded.indexNullAs() parameter indicating that null values should not indexed using the
null if the object is null.TimingSourceDeleteLuceneWork bound to a single entity.IndexedEmbedded
or ContainedIn annotations.SearchFactory is stopped.
Directory
equals() and hashCode() must guaranty equality
between two providers pointing to the same underlying Lucene Store.Field.indexNullAs() parameter.
IndexedEmbedded.indexNullAs() parameter.
@IndexedEmbedded, but themselves do not
contain the @Indexed annotation.@Indexed themselves.
@Indexed.@Indexed.
DocumentExtractor.getFirstIndex() and DocumentExtractor.getMaxIndex() define the boundaries available to DocumentExtractor.extract(int).TimingSource.getMonotonicTimeEstimate() can be used.
Explanation
object describing the score computation for the matching object/document
in the current query
Explanation object describing the score computation for
the matching object/document
This feature is relatively expensive, do not use unless you return a limited
amount of objects (using pagination)
To retrieve explanation of a single result, consider retrieving ProjectionConstants.DOCUMENT_ID
and using fullTextQuery.explain(int)
SearchFactory.optimize() or
SearchFactory.optimize(Class)LuceneIndexingParameters instance for the specified provider.
ClassBridge annotation.
Collector used for handling facet requests.FacetManager implementation.Facet to be applied onto a query.FieldCache.org.hibernate.search.query.collector.FieldCacheCollector,
so that we can reuse different loading strategies in different kinds
of Collectors.@Field annotation.@TokenFilterDef(factory=factory)
@TokenFilterDef(factory=factory)
FullTextFilterDefs.FSDirectory.true the search statistic will be gathered.
Document
name.
LuceneOptions.addFieldToDocument(String, String, org.apache.lucene.document.Document)
over manually building your Field objects and adding them to the Document.
Class from a String parameter.
Document for a given entity instance and its id.
FacetSelection instance in order to apply a disjunction of facet criteria on
the current query.
Facets for a given facet name
LuceneOptions.addFieldToDocument(String, String, org.apache.lucene.document.Document)
over manually building your Field objects and adding them to the Document.
Field.Index
System.nanoTime().
IndexReaders.
LuceneOptions.addFieldToDocument(String, String, org.apache.lucene.document.Document)
over manually building your Field objects and adding them to the Document.
LuceneOptions.addFieldToDocument(String, String, org.apache.lucene.document.Document)
over manually building your Field objects and adding them to the Document.
MutableSearchFactoryField should be indexed.true.
event
Other options manual
IndexReaderAccessor exposes IndexReaders directly, making it possible to query the Lucene
indexes directly bypassing Hibernate Search.org.apache.lucene.index.IndexWriter.OptimizerStrategy.
LuceneOptions.addFieldToDocument(String, String, org.apache.lucene.document.Document)
over manually building your Field objects and adding them to the Document.
Environment.INDEX_METADATA_COMPLETE for this specific index.
null included) of an Iterable object is indexed using the specified
FieldBridge.LuceneBackendQueueProcessorEnvironment.JMX_ENABLED) the specified suffix will be appended to the registered
MBean names.
true JMX beans get enabled.
InitialContext.TermQuery).
Map interface.null included) of the values in a Map is indexed using the specified FieldBridge.NodeSelectorStrategy is a static configuration for the local
node to always process index operations locally, and accept index operations
from remote nodes configured as slaves.hibernate.search.filter.cache_strategy.size
Above this limit, Filters are kept as soft referencesNodeSelectorStrategy selected for each index,
or returns the default one.@Field supporting Lucene's numeric field feature.IndexedEmbedded This event is triggered on each indexed domain instance T contained in such a collection;
this is generally similar to a EntityIndexingInterceptor.onUpdate(Object) event.
Spatial annotations defining
different sets of coordinates.
entityType
SearchFactory.optimize() or SearchFactory.optimize(Class),
or at the start or end of a MassIndexer's work.
PhraseQuery).
TikaBridge prior to processing the data
DocumentIdentityType and the identifier id from the index.
EntityInfos populated with
metadata and projection.
TermRangeQuery.
ReflectionReplacingSearchConfiguration.getReflectionManager() which will return the constructor
defined ReflectionManager.
BuildContext.getServiceManager() instead
BuildContext.getServiceManager() instead
ScopedAnalyzer is a wrapper class containing all analyzers for a given class.TikaBridge after processing the data.
LuceneBackendQueueProcessor.initialize(Properties, WorkerBuildContext, DirectoryBasedIndexManager)
it can set a customized Workspace instance to be used by this backend.
ReaderProvider shares IndexReaders as long as they are "current";
It uses IndexReader.reopen() which should improve performance on larger indexes
as it shares buffers with previous IndexReader generation for the segments which didn't change.MassIndexerProgressMonitor which
uses the logger at INFO level to output indexing speed statistics.logAfterNumberOfDocuments
documents written.
InstanceInitializer.NodeSelectorStrategy is a static configuration for the local
node to avoid processing any indexing operations locally.Statistics interface.TimeLimitingCollector.TimeLimitingCollector(Collector, Counter, long)
used by Hibernate Search when time limits are enabled on fulltext queries.TokenFilterFactory and its parameters.TokenizerFactory and its parameters.FieldBridge able to convert the index representation back into an object without losing information.StringBridge allowing a translation from the string representation back to the Object.- TwoWayTransformingFieldCacheCollector - Class in org.hibernate.search.query.collector.impl
- Wraps a FieldCacheCollector in such a way that
TwoWayTransformingFieldCacheCollector.getValue(int) returns objects as transformed
by a TwoWayStringBridge to transform from String form to the object. - TwoWayTransformingFieldCacheCollector(FieldCacheCollector, TwoWayStringBridge) -
Constructor for class org.hibernate.search.query.collector.impl.TwoWayTransformingFieldCacheCollector
-
IndexWriter.updateDocument(Term, org.apache.lucene.document.Document, org.apache.lucene.analysis.Analyzer)
This is the most efficient way to update the index, but we can apply it only if the Document is uniquely identified
by a single term (so no index sharing across entities or Numeric ids).URIURLs.ContextAwareSelectionDelegate to split a list of operations
according to the multiple IndexManagers it needs to be routed to.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||