Org.apache.lucene Download Jar ^NEW^

0 views
Skip to first unread message

Merry Hurtz

unread,
Jan 20, 2024, 12:48:47 PM1/20/24
to cieperhumbra

A projectable field must be stored in the Lucene index and use a TwoWayFieldBridge Unless notified in their JavaDoc, all built-in bridges are two-way. All @DocumentId fields are projectable by design. If the projected field is not a projectable field, null is returned in the object[]Parameters:fields - the projected field namesReturns:this to allow for method chainingfirstResultHSQuery firstResult(int firstResult)Set the first element to retrieve. If not set, elements will be retrieved beginning from element 0.Parameters:firstResult - a element number, numbered from 0Returns:this to allow for method chainingmaxResultsHSQuery maxResults(int maxResults)Set the maximum number of elements to retrieve. If not set, there is no limit to the number of elements retrieved.Parameters:maxResults - the maximum number of elementsReturns:this in order to allow method chaininggetTargetedEntitiesIndexedTypeSet getTargetedEntities()Returns:the targeted entity typesgetIndexedTargetedEntitiesIndexedTypeSet getIndexedTargetedEntities()Returns:a set of indexed entities corresponding to the class hierarchy of the targeted entitiesgetProjectedFieldsString[] getProjectedFields()Returns:the projected field nameshasThisProjectionboolean hasThisProjection()Returns:true if the projected field names contain the ProjectionConstants.THIS constant.getTimeoutManagerTimeoutManager getTimeoutManager()Returns:the timeout manager. Make sure to wrap your HSQuery usage around a timeoutManager.start() and timeoutManager.stop().getFacetManagerFacetManager getFacetManager()Returns:return the manager for all faceting related operationsgetLuceneQueryorg.apache.lucene.search.Query getLuceneQuery()Returns:the underlying Lucene query (if any)getQueryStringString getQueryString()Returns:a String representation of the underlying queryqueryEntityInfosList queryEntityInfos()Execute the Lucene query and return the list of EntityInfos populated with metadata and projection. ProjectionConstants.THIS if projected is not populated. It is the responsibility of the object source integration.Returns:list of EntityInfos populated with metadata and projectionqueryDocumentExtractorDocumentExtractor queryDocumentExtractor()Execute the Lucene query and return a traversable object over the results. Results are lazily fetched. ProjectionConstants.THIS if projected is not populated. It is the responsibility of the object source integration. The returned DocumentExtractor must be closed by the caller to release Lucene resources.Returns:the DocumentExtractor instancequeryResultSizeint queryResultSize()Returns:the number of hits for this search Caution: The number of results might be slightly different from what the object source returns if the index is not in sync with the store at the time of query.explainorg.apache.lucene.search.Explanation explain(int documentId)Return the Lucene Explanation object describing the score computation for the matching object/document in the current queryParameters:documentId - Lucene Document id to be explain. This is NOT the object idReturns:Lucene ExplanationenableFullTextFilterFullTextFilter enableFullTextFilter(String name)Enable a given filter by its name.Parameters:name - the name of the filter to enableReturns:Returns a FullTextFilter object that allows filter parameter injectiondisableFullTextFiltervoid disableFullTextFilter(String name)Disable a given filter by its name.Parameters:name - the name of the filter to disable.getExtendedSe...@Deprecatedorg.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator getExtendedSearchIntegrator()Deprecated. should be at most SearchIntegrator, preferably removed altogethergetExtendedSearchIntegrator.

org.apache.lucene download jar


Downloadhttps://t.co/u7ZyjiFu8N



df19127ead
Reply all
Reply to author
Forward
0 new messages