|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
impl
parameter
or use an external @AnalyzerDef definition through the def
parameterDiscriminator
implementation.BatchedQueueingProcessor.performWorks(org.hibernate.search.backend.WorkQueue)
is called.BigInteger
element.CachingWrapperFilter
CachingWrapperFilter
which
uses SoftReferences
instead of WeakReferences
in order to cache
the filter BitSet
.CharFilterFactory
and its parametersIndexReader
if no other resource is using it
in which case the reference to this container will also be removed.
ReaderProvider.openReader(org.hibernate.search.store.DirectoryProvider...)
.
FullTextSession.getSearchFactory()
instead.Search.getFullTextEntityManager(javax.persistence.EntityManager)
entities
and their respective subclasses.
entities
and their respective subclasses.
entities
and their respective subclasses.
Search.getFullTextSession(Session)
DeleteLuceneWork
,
performing the same LuceneWork in an optimal way in case
the index is NOT shared across different entities
(which is the default).SearchFactory
is destroyed.
Directory
equals()
and hashCode()
must guaranty equality
between two providers pointing to the same underlying Lucene Store.@IndexedEmbedded
, but themselves do not
contain the @Indexed
annotation.@Indexed
themselves.
@Indexed
.@Indexed
.
EntityInfo
s out of the QueryHits
.Element
.
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
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)
FullTextFilterDef
s.FSDirectory
.FullTextIndexEventListener
FullTextQuery
.FullTextQueryImpl
instance.
Session
with fulltext search and indexing capabilities.Document
name
.
Class
from a String parameter.
Document
for a given entity instance
and its id
.
list().size()
because list() if the index is
not in sync with the database at the time of query.
getResultList().size()
because getResultList()
may be not in sync with the database at the time of query.
event
Other options manual
org.apache.lucene.index.IndexWriter
Analyzer
or default
Similarity
) and checks whether certain optional libraries are available.LuceneBackendQueueProcessor
hibernate.search.filter.cache_strategy.size
Above this limit, Filters are kept as soft referencesFullTextIndexEventListener.onPostRecreateCollection(PostCollectionRecreateEvent)
FullTextIndexEventListener.onPostRemoveCollection(PostCollectionRemoveEvent)
FullTextIndexEventListener.onPostUpdateCollection(PostCollectionUpdateEvent)
entityType
Loader
interface used for loading entities which are projected via
ProjectionConstants.THIS
.DocumentId
entityType
and the identifier id
from the index.
entityType
and the identifier id
from the index.
entityType
and the identifier id
from the index.
entityType
and the identifier id
from the index.
ScopedAnalyzer
is a wrapper class containing all analyzers for a given class.ReaderProvider
shares IndexReaders as long as they are "current";
main difference with SharedReaderProvider is the way to update the Readers when needed:
this 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.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
.
URI
URL
s.Workspace.getIndexWriter(boolean)
the lock must be acquired,
and resources must be closed before releasing the lock.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |