Uses of Class
org.apache.lucene.search.Filter
-
Packages that use Filter Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping This module enables search result grouping with Lucene, where hits with the same value in the specified single-valued group field are grouped together.org.apache.lucene.search.join This modules support index-time and query-time joins.org.apache.lucene.spatial.geohash Support for Geohash encoding, decoding, and filtering.org.apache.lucene.spatial.tier Support for filtering based upon geographic location.org.apache.lucene.xmlparser Parser that produces Lucene Query objects from XML streams.org.apache.lucene.xmlparser.builders Builders to support various Lucene queries. -
-
Uses of Filter in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type Filter Constructor Description PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)Deprecated.PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2)PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)Split an index based on aFilter. -
Uses of Filter in org.apache.lucene.search
Subclasses of Filter in org.apache.lucene.search Modifier and Type Class Description classBooleanFilterA container Filter that allows Boolean composition of Filters.classCachingSpanFilterWraps another SpanFilter's result and caches it.classCachingWrapperFilterWraps another filter's result and caches it.classCachingWrapperFilterHelperA unit test helper class to test when the filter is getting cached and when it is not.classChainedFilterAllows multipleFilters to be chained.classDuplicateFilterclassFieldCacheRangeFilter<T>A range filter built on top of a cached single term field (inFieldCache).classFieldCacheTermsFilterAFilterthat only accepts documents whose single term value in the specified field is contained in the provided set of allowed terms.classFieldValueFilterAFilterthat accepts all documents that have one or more values in a given field.classMultiTermQueryWrapperFilter<Q extends MultiTermQuery>A wrapper forMultiTermQuery, that exposes its functionality as aFilter.classNumericRangeFilter<T extends Number>AFilterthat only accepts numeric values within a specified range.classPrefixFilterA Filter that restricts search results to values that have a matching prefix in a given field.classQueryWrapperFilterConstrains search results to only match those which also match a provided query.classRemoteCachingWrapperFilterDeprecated.This package (all of contrib/remote) will be removed in 4.0.classSpanFilterAbstract base class providing a mechanism to restrict searches to a subset of an index and also maintains and returns position information.classSpanQueryFilterConstrains search results to only match those which also match a provided query.classTermRangeFilterA Filter that restricts search results to a range of term values in a given field.classTermsFilterConstructs a filter for docs matching any of the terms added to this class.Fields in org.apache.lucene.search declared as Filter Modifier and Type Field Description protected FilterConstantScoreQuery. filterFilterFilterManager.FilterItem. filterprotected FilterRemoteCachingWrapperFilter. filterDeprecated.Methods in org.apache.lucene.search that return Filter Modifier and Type Method Description FilterConstantScoreQuery. getFilter()Returns the encapsulated filter, returnsnullif a query is wrapped.FilterFilterClause. getFilter()Returns this FilterClause's filterFilterFilteredQuery. getFilter()FilterFilterManager. getFilter(Filter filter)Deprecated.Returns the cached version of the filter.protected FilterSearchEquivalenceTestBase. randomFilter()Returns a random filter over the document setMethods in org.apache.lucene.search with parameters of type Filter Modifier and Type Method Description voidBooleanFilter. add(Filter filter, BooleanClause.Occur occur)protected voidSearchEquivalenceTestBase. assertSubsetOf(Query q1, Query q2, Filter filter)Asserts that the documents returned byq1are a subset of those returned byq2.FilterFilterManager. getFilter(Filter filter)Deprecated.Returns the cached version of the filter.TopDocsCheckHits.ExplanationAssertingSearcher. search(Query query, Filter filter, int n)TopFieldDocsCheckHits.ExplanationAssertingSearcher. search(Query query, Filter filter, int n, Sort sort)voidCheckHits.ExplanationAssertingSearcher. search(Query query, Filter filter, Collector results)TopDocsIndexSearcher. search(Query query, Filter filter, int n)Finds the topnhits forquery, applyingfilterif non-null.TopFieldDocsIndexSearcher. search(Query query, Filter filter, int n, Sort sort)Search implementation with arbitrary sorting.voidIndexSearcher. search(Query query, Filter filter, Collector results)Lower-level search API.TopDocsIndexSearcher. search(Weight weight, Filter filter, int nDocs)Expert: Low-level search implementation.TopFieldDocsIndexSearcher. search(Weight weight, Filter filter, int nDocs, Sort sort)Expert: Low-level search implementation with arbitrary sorting.protected TopFieldDocsIndexSearcher. search(Weight weight, Filter filter, int nDocs, Sort sort, boolean fillFields)Just likeIndexSearcher.search(Weight, Filter, int, Sort), but you choose whether or not the fields in the returnedFieldDocinstances should be set by specifying fillFields.voidIndexSearcher. search(Weight weight, Filter filter, Collector collector)Lower-level search API.protected TopDocsIndexSearcher. search(Weight weight, Filter filter, ScoreDoc after, int nDocs)Expert: Low-level search implementation.TopDocsMultiSearcher. search(Weight weight, Filter filter, int nDocs)Deprecated.TopFieldDocsMultiSearcher. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.voidMultiSearcher. search(Weight weight, Filter filter, Collector collector)Deprecated.TopDocsParallelMultiSearcher. search(Weight weight, Filter filter, int nDocs)Deprecated.A search implementation which executes eachSearchablein its own thread and waits for each search to complete and merge the results back together.TopFieldDocsParallelMultiSearcher. search(Weight weight, Filter filter, int nDocs, Sort sort)Deprecated.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.voidParallelMultiSearcher. search(Weight weight, Filter filter, Collector collector)Deprecated.Lower-level search API.TopDocsRemoteSearchable. search(Weight weight, Filter filter, int n)Deprecated.TopFieldDocsRemoteSearchable. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.voidRemoteSearchable. search(Weight weight, Filter filter, Collector results)Deprecated.TopDocsSearchable. search(Weight weight, Filter filter, int n)Deprecated.Expert: Low-level search implementation.TopFieldDocsSearchable. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.Expert: Low-level search implementation with arbitrary sorting.voidSearchable. search(Weight weight, Filter filter, Collector collector)Deprecated.Lower-level search API.TopDocsSearcher. search(Query query, Filter filter, int n)Deprecated.Finds the topnhits forquery, applyingfilterif non-null.TopFieldDocsSearcher. search(Query query, Filter filter, int n, Sort sort)Deprecated.Search implementation with arbitrary sorting.voidSearcher. search(Query query, Filter filter, Collector results)Deprecated.Lower-level search API.abstract TopDocsSearcher. search(Weight weight, Filter filter, int n)Deprecated.abstract TopFieldDocsSearcher. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.abstract voidSearcher. search(Weight weight, Filter filter, Collector results)Deprecated.TopDocsIndexSearcher. searchAfter(ScoreDoc after, Query query, Filter filter, int n)Finds the topnhits forquery, applyingfilterif non-null, where all results are after a previous result (after).Constructors in org.apache.lucene.search with parameters of type Filter Constructor Description CachingWrapperFilter(Filter filter)New deletes are ignored by default, which gives higher cache hit rate on reopened readers.CachingWrapperFilter(Filter filter, CachingWrapperFilter.DeletesMode deletesMode)Expert: by default, the cached filter will be shared across reopened segments that only had changes to their deletions.CachingWrapperFilterHelper(Filter filter)ChainedFilter(Filter[] chain)Ctor.ChainedFilter(Filter[] chain, int logic)Ctor.ChainedFilter(Filter[] chain, int[] logicArray)Ctor.ConstantScoreQuery(Filter filter)Wraps a Filter as a Query.FilterClause(Filter filter, BooleanClause.Occur occur)Create a new FilterClauseFilteredQuery(Query query, Filter filter)Constructs a new query which applies a filter to the results of the original query.FilterItem(Filter filter)RemoteCachingWrapperFilter(Filter filter)Deprecated. -
Uses of Filter in org.apache.lucene.search.grouping
Constructors in org.apache.lucene.search.grouping with parameters of type Filter Constructor Description BlockGroupingCollector(Sort groupSort, int topNGroups, boolean needsScores, Filter lastDocPerGroup)Create the single pass collector. -
Uses of Filter in org.apache.lucene.search.join
Subclasses of Filter in org.apache.lucene.search.join Modifier and Type Class Description classRawTermFilterExpert: creates a filter accepting all documents containing the provided term, disregarding deleted documents.Constructors in org.apache.lucene.search.join with parameters of type Filter Constructor Description ToChildBlockJoinQuery(Query parentQuery, Filter parentsFilter, boolean doScores)ToParentBlockJoinQuery(Query childQuery, Filter parentsFilter, ToParentBlockJoinQuery.ScoreMode scoreMode)Create a ToParentBlockJoinQuery. -
Uses of Filter in org.apache.lucene.spatial.geohash
Subclasses of Filter in org.apache.lucene.spatial.geohash Modifier and Type Class Description classGeoHashDistanceFilterDeprecated.Constructors in org.apache.lucene.spatial.geohash with parameters of type Filter Constructor Description GeoHashDistanceFilter(Filter startingFilter, double lat, double lng, double miles, String geoHashField)Deprecated.Provide a distance filter based from a center point with a radius in miles -
Uses of Filter in org.apache.lucene.spatial.tier
Subclasses of Filter in org.apache.lucene.spatial.tier Modifier and Type Class Description classCartesianShapeFilterDeprecated.classDistanceFilterDeprecated.classLatLongDistanceFilterDeprecated.Fields in org.apache.lucene.spatial.tier declared as Filter Modifier and Type Field Description protected FilterDistanceFilter. startingFilterDeprecated.Methods in org.apache.lucene.spatial.tier that return Filter Modifier and Type Method Description FilterCartesianPolyFilterBuilder. getBoundingArea(double latitude, double longitude, double miles)Deprecated.FilterDistanceQueryBuilder. getFilter()Deprecated.Create a distance query using a boundary box wrapper around a more precise DistanceFilter.FilterDistanceQueryBuilder. getFilter(Query query)Deprecated.Constructors in org.apache.lucene.spatial.tier with parameters of type Filter Constructor Description DistanceFieldComparatorSource(Filter distanceFilter)Deprecated.DistanceFilter(Filter startingFilter, double distance)Deprecated.Filters the startingFilter by precise distance checking filterLatLongDistanceFilter(Filter startingFilter, double lat, double lng, double miles, String latField, String lngField)Deprecated.Provide a distance filter based from a center point with a radius in miles. -
Uses of Filter in org.apache.lucene.xmlparser
Methods in org.apache.lucene.xmlparser that return Filter Modifier and Type Method Description FilterFilterBuilder. getFilter(Element e)FilterFilterBuilderFactory. getFilter(Element n) -
Uses of Filter in org.apache.lucene.xmlparser.builders
Methods in org.apache.lucene.xmlparser.builders that return Filter Modifier and Type Method Description FilterBooleanFilterBuilder. getFilter(Element e)FilterCachedFilterBuilder. getFilter(Element e)FilterDuplicateFilterBuilder. getFilter(Element e)FilterNumericRangeFilterBuilder. getFilter(Element e)FilterRangeFilterBuilder. getFilter(Element e)FilterTermsFilterBuilder. getFilter(Element e)
-