A C G K M O R S T 

A

addField(String, String, Analyzer) - Method in class org.apache.lucene.index.memory.MemoryIndex
Convenience method; Tokenizes the given field text and adds the resulting terms to the index; Equivalent to adding an indexed non-keyword Lucene Field that is tokenized, not stored, termVectorStored with positions (or termVectorStored with positions and offsets),
addField(String, TokenStream) - Method in class org.apache.lucene.index.memory.MemoryIndex
Equivalent to addField(fieldName, stream, 1.0f).
addField(String, TokenStream, float) - Method in class org.apache.lucene.index.memory.MemoryIndex
Iterates over the given token stream and adds the resulting terms to the index; Equivalent to adding a tokenized, indexed, termVectorStored, unstored, Lucene Field.
addField(String, TokenStream, float, int) - Method in class org.apache.lucene.index.memory.MemoryIndex
Iterates over the given token stream and adds the resulting terms to the index; Equivalent to adding a tokenized, indexed, termVectorStored, unstored, Lucene Field.

C

createSearcher() - Method in class org.apache.lucene.index.memory.MemoryIndex
Creates and returns a searcher that can be used to execute arbitrary Lucene queries and to collect the resulting query results as hits.

G

getMemorySize() - Method in class org.apache.lucene.index.memory.MemoryIndex
Returns a reasonable approximation of the main memory [bytes] consumed by this instance.

K

keywordTokenStream(Collection<T>) - Method in class org.apache.lucene.index.memory.MemoryIndex
Convenience method; Creates and returns a token stream that generates a token for each keyword in the given collection, "as is", without any transforming text analysis.

M

MemoryIndex - Class in org.apache.lucene.index.memory
High-performance single-document main memory Apache Lucene fulltext search index.
MemoryIndex() - Constructor for class org.apache.lucene.index.memory.MemoryIndex
Constructs an empty instance.
MemoryIndex(boolean) - Constructor for class org.apache.lucene.index.memory.MemoryIndex
Constructs an empty instance that can optionally store the start and end character offset of each token term in the text.

O

org.apache.lucene.index.memory - package org.apache.lucene.index.memory
High-performance single-document main memory Apache Lucene fulltext search index.

R

reset() - Method in class org.apache.lucene.index.memory.MemoryIndex
Resets the MemoryIndex to its initial state and recycles all internal buffers.

S

search(Query) - Method in class org.apache.lucene.index.memory.MemoryIndex
Convenience method that efficiently returns the relevance score by matching this index against the given Lucene query expression.

T

toString() - Method in class org.apache.lucene.index.memory.MemoryIndex
Returns a String representation of the index data for debugging purposes.
A C G K M O R S T 

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