jruby/docs BETA
Navigation
org.apache.lucene.search 162
C AbstractDocIdSetIterator
C AbstractKnnCollector
C AcceptDocs
C AutomatonQuery
C BlendedTermQuery
C BooleanQuery
I BoostAttribute
C BoostAttributeImpl
C BoostQuery
C BulkScorer
C ByteVectorSimilarityQuery
C CachingCollector
I CheckedIntConsumer
C CollectionTerminatedException
I Collector
I CollectorManager
C CombinedFieldQuery
C ConjunctionUtils
C ConstantScoreQuery
C ConstantScoreScorer
C ConstantScoreScorerSupplier
C ConstantScoreWeight
C ControlledRealTimeReopenThread
C DisiPriorityQueue
C DisiWrapper
C DisjunctionDISIApproximation
C DisjunctionMaxQuery
C DocAndFloatFeatureBuffer
C DocAndScoreAccBuffer
C DocIdSet
C DocIdSetBulkIterator
C DocIdSetIterator
C DocIdStream
C DocValuesRangeIterator
C DocValuesRewriteMethod
C DoubleValues
C DoubleValuesSource
C DoubleValuesSourceRescorer
C ExactPhraseMatcher
C Explanation
C FieldComparator
C FieldComparatorSource
C FieldDoc
C FieldExistsQuery
C FieldValueHitQueue
C FilterCollector
C FilterDocIdSetIterator
C FilterLeafCollector
C FilterMatchesIterator
C FilterScorable
C FilterScorer
C FilterWeight
C FilteredDocIdSetIterator
C FloatVectorSimilarityQuery
C FullPrecisionFloatVectorSimilarityValuesSource
C FuzzyQuery
C FuzzyTermsEnum
C HitQueue
C HnswQueueSaturationCollector
C ImpactsDISI
C IndexOrDocValuesQuery
C IndexSearcher
C IndexSortSortedNumericDocValuesRangeQuery
C IndriAndQuery
C IndriAndScorer
C IndriAndWeight
C IndriDisjunctionScorer
C IndriQuery
C IndriScorer
C KnnByteVectorQuery
I KnnCollector
C KnnFloatVectorQuery
C LRUQueryCache
C LateInteractionFloatValuesSource
C LateInteractionRescorer
I LeafCollector
I LeafFieldComparator
C LiveFieldValues
C LongValues
C LongValuesSource
C MatchAllDocsQuery
C MatchNoDocsQuery
I Matches
I MatchesIterator
C MatchesUtils
I MaxNonCompetitiveBoostAttribute
C MaxNonCompetitiveBoostAttributeImpl
C MaxScoreCache
C MultiCollector
C MultiCollectorManager
C MultiPhraseQuery
C MultiTermQuery
I MultiVectorSimilarity
C Multiset
C NGramPhraseQuery
C NamedMatches
C NumericDocValuesRangeQuery
C PatienceKnnVectorQuery
C PhraseMatcher
C PhraseQuery
C PhraseWeight
C PointInSetQuery
C PointRangeQuery
C PositiveScoresOnlyCollector
C PrefixQuery
E Pruning
C Query
I QueryCache
I QueryCachingPolicy
C QueryRescorer
C QueryVisitor
C ReferenceManager
I RefreshCommitSupplier
C RegexpQuery
C RescoreTopNQuery
C Rescorer
C Scorable
C ScoreCachingWrappingScorer
C ScoreDoc
E ScoreMode
C Scorer
C ScorerSupplier
C ScoringRewrite
C SearcherFactory
C SearcherLifetimeManager
C SearcherManager
C SeededKnnVectorQuery
I SegmentCacheable
C SimpleCollector
C SimpleFieldComparator
C SkipBlockRangeIterator
C SloppyPhraseMatcher
C Sort
C SortField
C SortRescorer
C SortedNumericSelector
C SortedNumericSortField
C SortedSetSelector
C SortedSetSortField
C SynonymQuery
C TaskExecutor
C TermInSetQuery
C TermQuery
C TermRangeQuery
C TermScorer
C TimeLimitingKnnCollectorManager
C TopDocs
C TopDocsCollector
C TopFieldCollector
C TopFieldCollectorManager
C TopFieldDocs
C TopKnnCollector
C TopScoreDocCollector
C TopScoreDocCollectorManager
C TopTermsRewrite
C TotalHitCountCollector
C TotalHitCountCollectorManager
C TwoPhaseIterator
C UsageTrackingQueryCachingPolicy
I VectorScorer
C Weight
C WildcardQuery
IndriQuery — members 8+
C new(clauses)
M clauses() BooleanClause>
M create_weight(searcher, score_mode, boost) Weight
M equals(o) boolean
M hash_code() int
M iterator() BooleanClause>
M to_string(field) String
C visit(visitor)
from Query
M rewrite(index_searcher) Query
M to_string() String
from Iterable
C for_each(arg0)
M spliterator() Spliterator<T>

org.apache.lucene.search.IndriQuery

class abstract extends Query implements Iterable<BooleanClause> 8 members

A Basic abstract query that all IndriQueries can extend to implement toString, equals, getClauses, and iterator.

Constructors

new

new ( List<BooleanClause> clauses )
Java: <init>(List<org.apache.lucene.search.BooleanClause> clauses)

Instance Methods

clauses

List<BooleanClause> clauses ( )
Java: getClauses() · also: get_clauses

create_weight

Weight create_weight ( IndexSearcher searcher, ScoreMode score_mode, float boost )
Java: createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)

equals

boolean equals ( Object o )
Java: equals(Object o)

hash_code

int hash_code ( )
Java: hashCode()

iterator

Iterator<BooleanClause> iterator ( )
Java: iterator()

to_string

String to_string ( String field )
Java: toString(String field)

visit

visit ( QueryVisitor visitor )
Java: visit(org.apache.lucene.search.QueryVisitor visitor)

Inherited

from Query

rewrite

Query rewrite ( IndexSearcher index_searcher )
Java: rewrite(org.apache.lucene.search.IndexSearcher indexSearcher)

Expert: called to re-write queries into primitive queries. For example, a PrefixQuery will be rewritten into a BooleanQuery that consists of TermQuerys.

Callers are expected to call rewrite multiple times if necessary, until the rewritten query is the same as the original query.

The rewrite process may be able to make use of IndexSearcher's executor and be executed in parallel if the executor is provided.

to_string

String to_string ( )
Java: toString()

Prints a query to a string.

from Iterable

for_each

for_each ( Consumer<? super T> arg0 )
Java: forEach(java.util.function.Consumer<? super T> arg0)

spliterator

Spliterator<T> spliterator ( )
Java: spliterator()
this work for additional information regarding copyright ownership.