Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A C G K M O 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`.

## 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.

## O

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

## 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 S T

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES