|
| ParallelMultiSearcher (Collection< SearchablePtr > searchables) |
| Creates a Searchable which searches searchables. More...
|
|
virtual | ~ParallelMultiSearcher () |
|
virtual String | getClassName () |
|
boost::shared_ptr< ParallelMultiSearcher > | shared_from_this () |
|
virtual int32_t | docFreq (const TermPtr &term) |
| Executes each Searchable 's docFreq() in its own thread and waits for each search to complete and merge the results back together. More...
|
|
virtual TopDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n) |
| A search implementation which executes each Searchable in its own thread and waits for each search to complete and merge the results back together. More...
|
|
virtual TopFieldDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n, const SortPtr &sort) |
| A search implementation allowing sorting which spans a new thread for each Searchable, waits for each search to complete and merges the results back together. More...
|
|
| MultiSearcher (Collection< SearchablePtr > searchables) |
| Creates a searcher which searches searchers. More...
|
|
virtual | ~MultiSearcher () |
|
virtual String | getClassName () |
|
boost::shared_ptr< MultiSearcher > | shared_from_this () |
|
Collection< SearchablePtr > | getSearchables () |
| Return the array of Searchable s this searches. More...
|
|
virtual void | close () |
| Frees resources associated with this Searcher. Be careful not to call this method while you are still using objects that reference this Searchable. More...
|
|
virtual int32_t | docFreq (const TermPtr &term) |
| Returns the number of documents containing term. More...
|
|
virtual DocumentPtr | doc (int32_t n) |
| Returns the stored fields of document i. More...
|
|
virtual DocumentPtr | doc (int32_t n, const FieldSelectorPtr &fieldSelector) |
| Get the Document at the n'th position. The FieldSelector may be used to determine what Field s to load and how they should be loaded. More...
|
|
int32_t | subSearcher (int32_t n) |
| Returns index of the searcher for document n in the array used to construct this searcher. More...
|
|
int32_t | subDoc (int32_t n) |
| Returns the document number of document n within its sub-index. More...
|
|
virtual int32_t | maxDoc () |
| Returns one greater than the largest possible document number. More...
|
|
virtual TopDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n) |
| Low-level search implementation. Finds the top n hits for query, applying filter if non-null. Applications should usually call Searcher#search(QueryPtr, int32_t) or Searcher#search(QueryPtr, FilterPtr, int32_t) instead. More...
|
|
virtual TopFieldDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n, const SortPtr &sort) |
| Low-level search implementation with arbitrary sorting. Finds the top n hits for query, applying filter if non-null, and sorting the hits by the criteria in sort. More...
|
|
virtual void | search (const WeightPtr &weight, const FilterPtr &filter, const CollectorPtr &results) |
| Lower-level search API. More...
|
|
virtual QueryPtr | rewrite (const QueryPtr &query) |
| Called to re-write queries into primitive queries. More...
|
|
virtual ExplanationPtr | explain (const WeightPtr &weight, int32_t doc) |
| Low-level implementation method. Returns an Explanation that describes how doc scored against weight. More...
|
|
virtual TopFieldDocsPtr | search (const QueryPtr &query, const FilterPtr &filter, int32_t n, const SortPtr &sort) |
| Search implementation with arbitrary sorting. Finds the top n hits for query, applying filter if non-null, and sorting the hits by the criteria in sort. More...
|
|
virtual void | search (const QueryPtr &query, const CollectorPtr &results) |
| Lower-level search API. More...
|
|
virtual void | search (const QueryPtr &query, const FilterPtr &filter, const CollectorPtr &results) |
| Lower-level search API. More...
|
|
virtual TopDocsPtr | search (const QueryPtr &query, const FilterPtr &filter, int32_t n) |
| Finds the top n hits for query, applying filter if non-null. More...
|
|
virtual TopDocsPtr | search (const QueryPtr &query, int32_t n) |
| Finds the top n hits for query. More...
|
|
virtual void | search (const WeightPtr &weight, const FilterPtr &filter, const CollectorPtr &results)=0 |
| Lower-level search API. More...
|
|
virtual TopDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n)=0 |
| Low-level search implementation. Finds the top n hits for query, applying filter if non-null. Applications should usually call Searcher#search(QueryPtr, int32_t) or Searcher#search(QueryPtr, FilterPtr, int32_t) instead. More...
|
|
virtual TopFieldDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n, const SortPtr &sort)=0 |
| Low-level search implementation with arbitrary sorting. Finds the top n hits for query, applying filter if non-null, and sorting the hits by the criteria in sort. More...
|
|
| Searcher () |
|
virtual | ~Searcher () |
|
virtual String | getClassName () |
|
boost::shared_ptr< Searcher > | shared_from_this () |
|
virtual TopFieldDocsPtr | search (const QueryPtr &query, const FilterPtr &filter, int32_t n, const SortPtr &sort) |
| Search implementation with arbitrary sorting. Finds the top n hits for query, applying filter if non-null, and sorting the hits by the criteria in sort. More...
|
|
virtual void | search (const QueryPtr &query, const CollectorPtr &results) |
| Lower-level search API. More...
|
|
virtual void | search (const QueryPtr &query, const FilterPtr &filter, const CollectorPtr &results) |
| Lower-level search API. More...
|
|
virtual TopDocsPtr | search (const QueryPtr &query, const FilterPtr &filter, int32_t n) |
| Finds the top n hits for query, applying filter if non-null. More...
|
|
virtual TopDocsPtr | search (const QueryPtr &query, int32_t n) |
| Finds the top n hits for query. More...
|
|
virtual ExplanationPtr | explain (const QueryPtr &query, int32_t doc) |
| Returns an Explanation that describes how doc scored against query. More...
|
|
virtual void | setSimilarity (const SimilarityPtr &similarity) |
| Set the Similarity implementation used by this Searcher. More...
|
|
virtual SimilarityPtr | getSimilarity () |
| Return the Similarity implementation used by this Searcher. More...
|
|
virtual Collection< int32_t > | docFreqs (Collection< TermPtr > terms) |
| For each term in the terms array, calculates the number of documents containing term. Returns an array with these document frequencies. Used to minimize number of remote calls. More...
|
|
virtual void | search (const WeightPtr &weight, const FilterPtr &filter, const CollectorPtr &results)=0 |
| Lower-level search API. More...
|
|
virtual void | close ()=0 |
| Frees resources associated with this Searcher. Be careful not to call this method while you are still using objects that reference this Searchable. More...
|
|
virtual int32_t | docFreq (const TermPtr &term)=0 |
| Returns the number of documents containing term. More...
|
|
virtual int32_t | maxDoc ()=0 |
| Returns one greater than the largest possible document number. More...
|
|
virtual TopDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n)=0 |
| Low-level search implementation. Finds the top n hits for query, applying filter if non-null. Applications should usually call Searcher#search(QueryPtr, int32_t) or Searcher#search(QueryPtr, FilterPtr, int32_t) instead. More...
|
|
virtual DocumentPtr | doc (int32_t n)=0 |
| Returns the stored fields of document i. More...
|
|
virtual DocumentPtr | doc (int32_t n, const FieldSelectorPtr &fieldSelector)=0 |
| Get the Document at the n'th position. The FieldSelector may be used to determine what Field s to load and how they should be loaded. More...
|
|
virtual QueryPtr | rewrite (const QueryPtr &query)=0 |
| Called to re-write queries into primitive queries. More...
|
|
virtual ExplanationPtr | explain (const WeightPtr &weight, int32_t doc)=0 |
| Low-level implementation method. Returns an Explanation that describes how doc scored against weight. More...
|
|
virtual TopFieldDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n, const SortPtr &sort)=0 |
| Low-level search implementation with arbitrary sorting. Finds the top n hits for query, applying filter if non-null, and sorting the hits by the criteria in sort. More...
|
|
virtual String | getClassName () |
|
virtual | ~Searchable () |
|
virtual void | search (const WeightPtr &weight, const FilterPtr &filter, const CollectorPtr &collector)=0 |
| Lower-level search API. More...
|
|
virtual void | close ()=0 |
| Frees resources associated with this Searcher. Be careful not to call this method while you are still using objects that reference this Searchable. More...
|
|
virtual int32_t | docFreq (const TermPtr &term)=0 |
| Returns the number of documents containing term. More...
|
|
virtual Collection< int32_t > | docFreqs (Collection< TermPtr > terms)=0 |
| For each term in the terms array, calculates the number of documents containing term. Returns an array with these document frequencies. Used to minimize number of remote calls. More...
|
|
virtual int32_t | maxDoc ()=0 |
| Returns one greater than the largest possible document number. More...
|
|
virtual TopDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n)=0 |
| Low-level search implementation. Finds the top n hits for query, applying filter if non-null. Applications should usually call Searcher#search(QueryPtr, int32_t) or Searcher#search(QueryPtr, FilterPtr, int32_t) instead. More...
|
|
virtual DocumentPtr | doc (int32_t n)=0 |
| Returns the stored fields of document i. More...
|
|
virtual DocumentPtr | doc (int32_t n, const FieldSelectorPtr &fieldSelector)=0 |
| Get the Document at the n'th position. The FieldSelector may be used to determine what Field s to load and how they should be loaded. More...
|
|
virtual QueryPtr | rewrite (const QueryPtr &query)=0 |
| Called to re-write queries into primitive queries. More...
|
|
virtual ExplanationPtr | explain (const WeightPtr &weight, int32_t doc)=0 |
| Low-level implementation method. Returns an Explanation that describes how doc scored against weight. More...
|
|
virtual TopFieldDocsPtr | search (const WeightPtr &weight, const FilterPtr &filter, int32_t n, const SortPtr &sort)=0 |
| Low-level search implementation with arbitrary sorting. Finds the top n hits for query, applying filter if non-null, and sorting the hits by the criteria in sort. More...
|
|
virtual | ~LuceneObject () |
|
virtual void | initialize () |
| Called directly after instantiation to create objects that depend on this object being fully constructed. More...
|
|
virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
| Return clone of this object. More...
|
|
virtual int32_t | hashCode () |
| Return hash code for this object. More...
|
|
virtual bool | equals (const LuceneObjectPtr &other) |
| Return whether two objects are equal. More...
|
|
virtual int32_t | compareTo (const LuceneObjectPtr &other) |
| Compare two objects. More...
|
|
virtual String | toString () |
| Returns a string representation of the object. More...
|
|
virtual | ~LuceneSync () |
|
virtual SynchronizePtr | getSync () |
| Return this object synchronize lock. More...
|
|
virtual LuceneSignalPtr | getSignal () |
| Return this object signal. More...
|
|
virtual void | lock (int32_t timeout=0) |
| Lock this object using an optional timeout. More...
|
|
virtual void | unlock () |
| Unlock this object. More...
|
|
virtual bool | holdsLock () |
| Returns true if this object is currently locked by current thread. More...
|
|
virtual void | wait (int32_t timeout=0) |
| Wait for signal using an optional timeout. More...
|
|
virtual void | notifyAll () |
| Notify all threads waiting for signal. More...
|
|