A B C D E F G H I L M N O P R S T U W 

A

acceptsDocsOutOfOrder() - Method in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
add(Object, Object) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
add(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
advise(FileDescriptor, long, long, int) - Static method in class org.apache.lucene.store.NativePosixUtil
 
asList(Object) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 

B

baselineTf(float) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Implemented as: (x <= min) ? base : sqrt(x+(base**2)-min) ...but with a special case check for 0.
binaryValue() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
boost() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 

C

clone() - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
close() - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
collect(int) - Method in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
common(Object, Object) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
common(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
compare(int, int) - Method in class org.apache.lucene.index.sorter.Sorter.DocComparator
Compare docID1 against docID2.
CompoundFileExtractor - Class in org.apache.lucene.index
Command-line tool for extracting sub-files out of a compound file.
CompoundFileExtractor() - Constructor for class org.apache.lucene.index.CompoundFileExtractor
 
computeLengthNorm(int) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Implemented as: 1/sqrt( steepness * (abs(x-min) + abs(x-max) - (max-min)) + 1 ) .
createOutput(String, IOContext) - Method in class org.apache.lucene.store.NativeUnixDirectory
 

D

DEFAULT_MERGE_BUFFER_SIZE - Static variable in class org.apache.lucene.store.NativeUnixDirectory
Default buffer size before writing to disk (256 KB); larger means less IO load but more RAM and direct buffer storage space consumed during merging.
DEFAULT_MIN_BYTES_DIRECT - Static variable in class org.apache.lucene.store.NativeUnixDirectory
Default min expected merge size before direct IO is used (10 MB):
DEFAULTnumTerms - Static variable in class org.apache.lucene.misc.HighFreqTerms
 
docFreq - Variable in class org.apache.lucene.misc.TermStats
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
DONTNEED - Static variable in class org.apache.lucene.store.NativePosixUtil
 

E

EarlyTerminatingSortingCollector - Class in org.apache.lucene.index.sorter
A Collector that early terminates collection of documents on a per-segment basis, if the segment was sorted according to the given Sorter.
EarlyTerminatingSortingCollector(Collector, Sorter, int) - Constructor for class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
Create a new EarlyTerminatingSortingCollector instance.
equals(Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 

F

field - Variable in class org.apache.lucene.misc.TermStats
 
fields() - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
fieldType() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
findForcedMerges(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
findMerges(MergePolicy.MergeTrigger, SegmentInfos) - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
first - Variable in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 

G

get(long) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
get(long, long) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
getBinaryDocValues(String) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
getField(FieldInfo) - Method in class org.apache.lucene.document.LazyDocument
Creates an IndexableField whose value will be lazy loaded if and when it is used.
getHighFreqTerms(IndexReader, int, String) - Static method in class org.apache.lucene.misc.HighFreqTerms
Returns TermStats[] ordered by terms with highest docFreq first.
getID() - Method in class org.apache.lucene.index.sorter.NumericDocValuesSorter
 
getID() - Method in class org.apache.lucene.index.sorter.Sorter
Returns the identifier of this Sorter.
getLiveDocs() - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
getNoOutput() - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
getNormValues(String) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
getNumericDocValues(String) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
getSingleton(boolean) - Static method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
getSortedDocValues(String) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
getSortedSetDocValues(String) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
GetTermInfo - Class in org.apache.lucene.misc
Utility to get document frequency and total number of occurrences (sum of the tf for each doc) of a term.
GetTermInfo() - Constructor for class org.apache.lucene.misc.GetTermInfo
 
getTermInfo(Directory, Term) - Static method in class org.apache.lucene.misc.GetTermInfo
 
getTermVectors(int) - Method in class org.apache.lucene.index.sorter.SortingAtomicReader
 
getTotalTermFreq(IndexReader, Term) - Static method in class org.apache.lucene.misc.HighFreqTerms
 

H

hasBeenLoaded() - Method in class org.apache.lucene.document.LazyDocument.LazyField
non-private for test only access
hashCode() - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 
HighFreqTerms - Class in org.apache.lucene.misc
HighFreqTerms class extracts the top n most frequent terms (by document frequency) from an existing Lucene index and reports their document frequency.
HighFreqTerms() - Constructor for class org.apache.lucene.misc.HighFreqTerms
 
hyperbolicTf(float) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Uses a hyperbolic tangent function that allows for a hard max...

I

in - Variable in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
IndexMergeTool - Class in org.apache.lucene.misc
Merges indices specified on the command line into the index specified as the first command line argument.
IndexMergeTool() - Constructor for class org.apache.lucene.misc.IndexMergeTool
 
IndexSplitter - Class in org.apache.lucene.index
Command-line tool that enables listing segments in an index, copying specific segments to another index, and deleting segments from an index.
IndexSplitter(File) - Constructor for class org.apache.lucene.index.IndexSplitter
 
infos - Variable in class org.apache.lucene.index.IndexSplitter
 
isSorted(AtomicReader, Sorter) - Static method in class org.apache.lucene.index.sorter.SortingMergePolicy
Returns true if the given reader is sorted by the given sorter.

L

LazyDocument - Class in org.apache.lucene.document
Defers actually loading a field's value until you ask for it.
LazyDocument(IndexReader, int) - Constructor for class org.apache.lucene.document.LazyDocument
 
LazyDocument.LazyField - Class in org.apache.lucene.document
 
lengthNorm(FieldInvertState) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Implemented as state.getBoost() * computeLengthNorm(numTokens) where numTokens does not count overlap tokens if discountOverlaps is true by default or true for this specific field.
ListOfOutputs<T> - Class in org.apache.lucene.util.fst
Wraps another Outputs implementation and encodes one or more of its output values.
ListOfOutputs(Outputs<T>) - Constructor for class org.apache.lucene.util.fst.ListOfOutputs
 
listSegments() - Method in class org.apache.lucene.index.IndexSplitter
 

M

madvise(ByteBuffer, int) - Static method in class org.apache.lucene.store.NativePosixUtil
 
main(String[]) - Static method in class org.apache.lucene.index.CompoundFileExtractor
 
main(String[]) - Static method in class org.apache.lucene.index.IndexSplitter
 
main(String[]) - Static method in class org.apache.lucene.index.MultiPassIndexSplitter
 
main(String[]) - Static method in class org.apache.lucene.misc.GetTermInfo
 
main(String[]) - Static method in class org.apache.lucene.misc.HighFreqTerms
 
main(String[]) - Static method in class org.apache.lucene.misc.IndexMergeTool
 
merge(Object, Object) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
merge(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
MultiPassIndexSplitter - Class in org.apache.lucene.index
This tool splits input index into multiple equal parts.
MultiPassIndexSplitter() - Constructor for class org.apache.lucene.index.MultiPassIndexSplitter
 

N

name() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
NativePosixUtil - Class in org.apache.lucene.store
Provides JNI access to native methods such as madvise() for NativeUnixDirectory
NativePosixUtil() - Constructor for class org.apache.lucene.store.NativePosixUtil
 
NativeUnixDirectory - Class in org.apache.lucene.store
A Directory implementation for all Unixes that uses DIRECT I/O to bypass OS level IO caching during merging.
NativeUnixDirectory(File, int, long, Directory) - Constructor for class org.apache.lucene.store.NativeUnixDirectory
Create a new NIOFSDirectory for the named location.
NativeUnixDirectory(File, Directory) - Constructor for class org.apache.lucene.store.NativeUnixDirectory
Create a new NIOFSDirectory for the named location.
newToOld(int) - Method in class org.apache.lucene.index.sorter.Sorter.DocMap
Given the ordinal of a doc ID, return its doc ID in the original index.
NOREUSE - Static variable in class org.apache.lucene.store.NativePosixUtil
 
NORMAL - Static variable in class org.apache.lucene.store.NativePosixUtil
 
numDocsToCollect - Variable in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
NumericDocValuesSorter - Class in org.apache.lucene.index.sorter
A Sorter which sorts documents according to their NumericDocValues.
NumericDocValuesSorter(String) - Constructor for class org.apache.lucene.index.sorter.NumericDocValuesSorter
Constructor over the given field name, and ascending sort order.
NumericDocValuesSorter(String, boolean) - Constructor for class org.apache.lucene.index.sorter.NumericDocValuesSorter
Constructor over the given field name, and whether sorting should be ascending (true) or descending (false).
numericValue() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
numTerms - Static variable in class org.apache.lucene.misc.HighFreqTerms
 

O

oldToNew(int) - Method in class org.apache.lucene.index.sorter.Sorter.DocMap
Given a doc ID from the original index, return its ordinal in the sorted index.
open_direct(String, boolean) - Static method in class org.apache.lucene.store.NativePosixUtil
 
openInput(String, IOContext) - Method in class org.apache.lucene.store.NativeUnixDirectory
 
openInput(String, IOContext) - Method in class org.apache.lucene.store.WindowsDirectory
 
org.apache.lucene.document - package org.apache.lucene.document
Misc extensions of the Document/Field API.
org.apache.lucene.index - package org.apache.lucene.index
Misc index tools and index support.
org.apache.lucene.index.sorter - package org.apache.lucene.index.sorter
Provides index sorting capablities.
org.apache.lucene.misc - package org.apache.lucene.misc
Miscellaneous index tools.
org.apache.lucene.store - package org.apache.lucene.store
Misc Directory implementations.
org.apache.lucene.util.fst - package org.apache.lucene.util.fst
Misc FST classes.
outputToString(Object) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
outputToString(Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 

P

PKIndexSplitter - Class in org.apache.lucene.index
Split an index based on a Filter.
PKIndexSplitter(Version, Directory, Directory, Directory, Filter) - Constructor for class org.apache.lucene.index.PKIndexSplitter
Split an index based on a Filter.
PKIndexSplitter(Directory, Directory, Directory, Filter, IndexWriterConfig, IndexWriterConfig) - Constructor for class org.apache.lucene.index.PKIndexSplitter
 
PKIndexSplitter(Version, Directory, Directory, Directory, Term) - Constructor for class org.apache.lucene.index.PKIndexSplitter
Split an index based on a given primary key term and a 'middle' term.
PKIndexSplitter(Directory, Directory, Directory, Term, IndexWriterConfig, IndexWriterConfig) - Constructor for class org.apache.lucene.index.PKIndexSplitter
 
posix_madvise(ByteBuffer, int) - Static method in class org.apache.lucene.store.NativePosixUtil
 
pread(FileDescriptor, long, ByteBuffer) - Static method in class org.apache.lucene.store.NativePosixUtil
 

R

RANDOM - Static variable in class org.apache.lucene.store.NativePosixUtil
 
read(DataInput) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
read(DataInput) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
readerValue() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
readFinalOutput(DataInput) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
remove(String[]) - Method in class org.apache.lucene.index.IndexSplitter
 
REVERSE_DOCS - Static variable in class org.apache.lucene.index.sorter.Sorter
Sorts documents in reverse order.

S

second - Variable in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 
segmentSorted - Variable in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
segmentTotalCollect - Variable in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
SEQUENTIAL - Static variable in class org.apache.lucene.store.NativePosixUtil
 
setBaselineTfFactors(float, float) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Sets the baseline and minimum function variables for baselineTf
setHyperbolicTfFactors(float, float, double, float) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Sets the function variables for the hyperbolicTf functions
setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
setLengthNormFactors(int, int, float, boolean) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Sets the default function variables used by lengthNorm when no field specific variables have been set.
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
setScorer(Scorer) - Method in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
size() - Method in class org.apache.lucene.index.sorter.Sorter.DocMap
Return the number of documents in this map.
sort(AtomicReader) - Method in class org.apache.lucene.index.sorter.NumericDocValuesSorter
 
sort(int, Sorter.DocComparator) - Static method in class org.apache.lucene.index.sorter.Sorter
Computes the old-to-new permutation over the given comparator.
sort(AtomicReader) - Method in class org.apache.lucene.index.sorter.Sorter
Returns a mapping from the old document ID to its new location in the sorted index.
sortByTotalTermFreq(IndexReader, TermStats[]) - Static method in class org.apache.lucene.misc.HighFreqTerms
Takes array of TermStats.
sorter - Variable in class org.apache.lucene.index.sorter.EarlyTerminatingSortingCollector
 
Sorter - Class in org.apache.lucene.index.sorter
Sorts documents of a given index by returning a permutation on the document IDs.
Sorter() - Constructor for class org.apache.lucene.index.sorter.Sorter
 
Sorter.DocComparator - Class in org.apache.lucene.index.sorter
A comparator of doc IDs.
Sorter.DocComparator() - Constructor for class org.apache.lucene.index.sorter.Sorter.DocComparator
 
Sorter.DocMap - Class in org.apache.lucene.index.sorter
A permutation of doc IDs.
Sorter.DocMap() - Constructor for class org.apache.lucene.index.sorter.Sorter.DocMap
 
SORTER_ID_PROP - Static variable in class org.apache.lucene.index.sorter.SortingMergePolicy
Put in the diagnostics to denote that this segment is sorted.
SortingAtomicReader - Class in org.apache.lucene.index.sorter
An AtomicReader which supports sorting documents by a given Sorter.
SortingMergePolicy - Class in org.apache.lucene.index.sorter
A MergePolicy that reorders documents according to a Sorter before merging them.
SortingMergePolicy(MergePolicy, Sorter) - Constructor for class org.apache.lucene.index.sorter.SortingMergePolicy
Create a new MergePolicy that sorts documents with sorter.
split(File, String[]) - Method in class org.apache.lucene.index.IndexSplitter
 
split(Version, IndexReader, Directory[], boolean) - Method in class org.apache.lucene.index.MultiPassIndexSplitter
Split source index into multiple parts.
split() - Method in class org.apache.lucene.index.PKIndexSplitter
 
stringValue() - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
subtract(Object, Object) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
subtract(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
SweetSpotSimilarity - Class in org.apache.lucene.misc
A similarity with a lengthNorm that provides for a "plateau" of equally good lengths, and tf helper functions.
SweetSpotSimilarity() - Constructor for class org.apache.lucene.misc.SweetSpotSimilarity
 

T

TermStats - Class in org.apache.lucene.misc
Holder for a term along with its statistics (TermStats.docFreq and TermStats.totalTermFreq).
termtext - Variable in class org.apache.lucene.misc.TermStats
 
tf(int) - Method in class org.apache.lucene.misc.SweetSpotSimilarity
Delegates to baselineTf
tokenStream(Analyzer) - Method in class org.apache.lucene.document.LazyDocument.LazyField
 
toString() - Method in class org.apache.lucene.index.sorter.Sorter
 
toString() - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 
toString() - Method in class org.apache.lucene.misc.TermStats
 
toString() - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
toString() - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 
totalTermFreq - Variable in class org.apache.lucene.misc.TermStats
 

U

UpToTwoPositiveIntOutputs - Class in org.apache.lucene.util.fst
An FST Outputs implementation where each output is one or two non-negative long values.
UpToTwoPositiveIntOutputs.TwoLongs - Class in org.apache.lucene.util.fst
Holds two long outputs.
UpToTwoPositiveIntOutputs.TwoLongs(long, long) - Constructor for class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 
useCompoundFile(SegmentInfos, SegmentInfoPerCommit) - Method in class org.apache.lucene.index.sorter.SortingMergePolicy
 

W

WILLNEED - Static variable in class org.apache.lucene.store.NativePosixUtil
 
WindowsDirectory - Class in org.apache.lucene.store
Native Directory implementation for Microsoft Windows.
WindowsDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.WindowsDirectory
Create a new WindowsDirectory for the named location.
WindowsDirectory(File) - Constructor for class org.apache.lucene.store.WindowsDirectory
Create a new WindowsDirectory for the named location and NativeFSLockFactory.
wrap(AtomicReader, Sorter) - Static method in class org.apache.lucene.index.sorter.SortingAtomicReader
Return a sorted view of reader according to the order defined by sorter.
wrap(AtomicReader, Sorter.DocMap) - Static method in class org.apache.lucene.index.sorter.SortingAtomicReader
Expert: same as SortingAtomicReader.wrap(AtomicReader, Sorter) but operates directly on a Sorter.DocMap.
write(Object, DataOutput) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
write(Object, DataOutput) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
writeFinalOutput(Object, DataOutput) - Method in class org.apache.lucene.util.fst.ListOfOutputs
 
A B C D E F G H I L M N O P R S T U W 

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.