Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Z 

A

AbstractCompoundTermsQuery - Class in gate.mimir.search.terms
Abstract base class for TermQuery implementations that wrap a group of TermQuery sub-queries.
AbstractCompoundTermsQuery(TermsQuery...) - Constructor for class gate.mimir.search.terms.AbstractCompoundTermsQuery
 
AbstractCompoundTermsQuery.CompoundCountsStrategy - Enum in gate.mimir.search.terms
Enum describing different ways term counts can be calculated for a compound terms query.
AbstractDocumentsBasedTermsQuery - Class in gate.mimir.search.terms
Abstract base class for term queries that use document IDs to specify the search.
AbstractDocumentsBasedTermsQuery(long[]) - Constructor for class gate.mimir.search.terms.AbstractDocumentsBasedTermsQuery
 
AbstractIndexTermsQuery - Class in gate.mimir.search.terms
Base class for terms queries that use an MG4J direct index for their search.
AbstractIndexTermsQuery(String, QueryEngine.IndexType, boolean, boolean, long...) - Constructor for class gate.mimir.search.terms.AbstractIndexTermsQuery
 
AbstractIntersectionQueryExecutor - Class in gate.mimir.search.query
An abstract query executor that implements the nextDocument() functionality shared between all query executors that combine a set of sub-executors and only need to return results on common documents.
AbstractIntersectionQueryExecutor(QueryEngine, QueryNode, QueryNode...) - Constructor for class gate.mimir.search.query.AbstractIntersectionQueryExecutor
Constructor from QueryEngine.
AbstractOverlapQuery - Class in gate.mimir.search.query
Abstract class providing the shared functionality used by both WithinQuery and ContainsQuery.
AbstractOverlapQuery(QueryNode, QueryNode) - Constructor for class gate.mimir.search.query.AbstractOverlapQuery
 
AbstractOverlapQuery.OverlapQueryExecutor - Class in gate.mimir.search.query
 
AbstractOverlapQuery.SubQuery - Enum in gate.mimir.search.query
A simple enum used to identify the two sub-queries.
AbstractQueryExecutor - Class in gate.mimir.search.query
A parent class for all query executors, containing some common functionality.
AbstractQueryExecutor(QueryEngine, QueryNode) - Constructor for class gate.mimir.search.query.AbstractQueryExecutor
 
AbstractSemanticAnnotationHelper - Class in gate.mimir
Simple abstract class that provides: an empty implementation for AbstractSemanticAnnotationHelper.documentStart(Document) an empty implementation for AbstractSemanticAnnotationHelper.documentEnd() an implementation for AbstractSemanticAnnotationHelper.getMentions(String, Map, QueryEngine), which simply calls SemanticAnnotationHelper.getMentions(String, List, QueryEngine) after creating the appropriate constraints. Subclasses are required to provide a no-argument constructor.
AbstractSemanticAnnotationHelper() - Constructor for class gate.mimir.AbstractSemanticAnnotationHelper
 
AbstractSemanticAnnotationHelper.MentionDescriber - Interface in gate.mimir
Interface for supporting classes used by AbstractSemanticAnnotationHelper and its sub-classes to provide a pluggable implementation for SemanticAnnotationHelper.describeMention(String).
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.ConstQuery.ConstQueryExecutor
Always returns null.
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
accept(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.ConstQuery.ConstQueryExecutor
Always returns null
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
acceptOnTruePaths(DocumentIteratorVisitor<T>) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
add_escapes(String) - Method in exception gate.mimir.search.query.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addEscapes(String) - Static method in error gate.mimir.search.query.parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
additionalDirectProperties - Variable in class gate.mimir.index.AtomicIndex
A set of properties added to the ones obtained from the direct index writer when writing out batches.
additionalProperties - Variable in class gate.mimir.index.AtomicIndex
A set of properties added to the ones obtained from the index writer when writing out batches.
addMetadataField(DocumentData, String, Serializable) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
Adds a new field to the metadata map saved by this class.
addOccurrences(long) - Method in class gate.mimir.index.GATEDocument
Notifies this GATEDocument that some more index occurrences were produced in the process of indexing it.
addPosition(int) - Method in class gate.mimir.index.AtomicIndex.PostingsList
 
adjustBeginLineColumn(int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
allDocIdsCollected - Variable in class gate.mimir.search.RankingQueryRunnerImpl
Flag used to mark that all results documents have been counted.
alpha - Variable in class gate.mimir.search.score.BindingScorer
 
and - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
AndQuery - Class in gate.mimir.search.query
Query Node for AND queries.
AndQuery(QueryNode...) - Constructor for class gate.mimir.search.query.AndQuery
Constructs a new short-AND operator from an array of sub-nodes.
AndQuery(Query) - Method in class gate.mimir.search.query.parser.QueryParser
AndQuery e.g.
AndQuery.AndQueryExecutor - Class in gate.mimir.search.query
 
AndQueryExecutor(AndQuery, QueryEngine) - Constructor for class gate.mimir.search.query.AndQuery.AndQueryExecutor
Creates a query executor for an AND query.
andResultSets(TermsResultSet[], AbstractCompoundTermsQuery.CompoundCountsStrategy) - Static method in class gate.mimir.search.terms.AndTermsQuery
 
AndTermsQuery - Class in gate.mimir.search.terms
Performs Boolean AND between multiple TermsQuery instances.
AndTermsQuery(TermsQuery...) - Constructor for class gate.mimir.search.terms.AndTermsQuery
Constructs a new AND term query.
annotationHelper - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
The semantic annotation helper for the correct annotation type (as given by AbstractIndexTermsQuery.indexName), if AbstractIndexTermsQuery.indexType is QueryEngine.IndexType.ANNOTATIONS , null otherwise.
annotationHelpers - Variable in class gate.mimir.index.AtomicAnnotationIndex
Helpers for each semantic annotation type.
AnnotationQuery - Class in gate.mimir.search.query
A query for the annotations index.
AnnotationQuery(String, Map<String, String>) - Constructor for class gate.mimir.search.query.AnnotationQuery
Constructs a new AnnotationQuery.
AnnotationQuery(String, List<Constraint>) - Constructor for class gate.mimir.search.query.AnnotationQuery
Constructs a new Annotation Query.
AnnotationQuery() - Method in class gate.mimir.search.query.parser.QueryParser
Annotation Query e.g.
annotationQuery - Variable in class gate.mimir.search.terms.AnnotationTermsQuery
 
AnnotationQuery.AnnotationQueryExecutor - Class in gate.mimir.search.query
 
AnnotationQueryExecutor(AnnotationQuery, QueryEngine) - Constructor for class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
AnnotationTermsQuery - Class in gate.mimir.search.terms
Given an AnnotationQuery, this finds the set of terms that satisfy it.
AnnotationTermsQuery(AnnotationQuery) - Constructor for class gate.mimir.search.terms.AnnotationTermsQuery
 
AnnotationTermsQuery(AnnotationQuery, boolean, boolean) - Constructor for class gate.mimir.search.terms.AnnotationTermsQuery
 
annotationType - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The type of the annotations handled by this helper.
AtomicAnnotationIndex - Class in gate.mimir.index
 
AtomicAnnotationIndex(MimirIndex, String, boolean, BlockingQueue<GATEDocument>, BlockingQueue<GATEDocument>, IndexConfig.SemanticIndexerConfig) - Constructor for class gate.mimir.index.AtomicAnnotationIndex
Creates a new atomic index for indexing annotations.
AtomicIndex - Class in gate.mimir.index
An inverted index associating terms with documents.
AtomicIndex(MimirIndex, String, boolean, TermProcessor, BlockingQueue<GATEDocument>, BlockingQueue<GATEDocument>) - Constructor for class gate.mimir.index.AtomicIndex
Creates a new AtomicIndex
atomicIndex - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
The atomic index used for executing the query.
AtomicIndex.MG4JIndex - Class in gate.mimir.index
Class representing an MG4J index batch, such as the head or any of the tails.
AtomicIndex.PostingsList - Class in gate.mimir.index
An in-RAM representation of a postings list
AtomicTokenIndex - Class in gate.mimir.index
An AtomicIndex implementation for indexing tokens.
AtomicTokenIndex(MimirIndex, String, boolean, BlockingQueue<GATEDocument>, BlockingQueue<GATEDocument>, IndexConfig.TokenIndexerConfig, boolean) - Constructor for class gate.mimir.index.AtomicTokenIndex
Creates a new atomic index for indexing tokens.

B

BackgroundRunner() - Constructor for class gate.mimir.search.RankingQueryRunnerImpl.BackgroundRunner
 
backgroundTasks - Variable in class gate.mimir.search.RankingQueryRunnerImpl
A queue with tasks to be executed by the background thread.
backup(int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
BATCH_COMPARATOR - Static variable in class gate.mimir.util.TruncateIndex
 
BATCH_NAME_FILTER - Static variable in class gate.mimir.util.TruncateIndex
 
BatchDetails() - Constructor for class gate.mimir.util.TruncateIndex.BatchDetails
 
batchEndPoints(File) - Static method in class gate.mimir.util.TruncateIndex
 
batches - Variable in class gate.mimir.index.AtomicIndex
A list containing the head and tails of this index.
batchWriteTask - Variable in class gate.mimir.index.AtomicIndex
If a request was made to write the in-RAM index data to disk this value will be not null.
beginColumn - Variable in class gate.mimir.search.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class gate.mimir.search.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
Binding - Class in gate.mimir.search.query
A binding used for representing search results.
Binding(QueryNode, long, int, int, Binding[]) - Constructor for class gate.mimir.search.query.Binding
 
BindingScorer - Class in gate.mimir.search.score
 
BindingScorer() - Constructor for class gate.mimir.search.score.BindingScorer
 
BindingScorer(int, double) - Constructor for class gate.mimir.search.score.BindingScorer
 
borrowReader() - Method in class gate.mimir.search.IndexReaderPool
Gets an IndexReader for the index associated with this pool.
bufcolumn - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
buffer - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
bufline - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
bufpos - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
buildQuery() - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
Build the underlying OrQuery executor that this annotation query uses.
buildResultSet(DocumentIterator) - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
 
byteArrayOS - Variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
A ByteArrayOutputStream used to temporarily store serialised document data objects.

C

calculateStartPositionForAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicAnnotationIndex
 
calculateStartPositionForAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Calculate the starting position for the given annotation, storing it in AtomicIndex.tokenPosition.
calculateStartPositionForAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicTokenIndex
This indexer always adds one posting per token, so the start position for the next annotation is always one more than the previous one.
calculateTermStringForAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicAnnotationIndex
 
calculateTermStringForAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Determine the string (or strings, if there are alternatives) that should be stored in the index for the given annotation.
calculateTermStringForAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicTokenIndex
For a token annotation, the "string" we index is the feature value corresponding to the name of the field to index.
candidateHits - Variable in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
An array of lists of hits, one list for each of the AbstractIntersectionQueryExecutor.executors.
check(int, int) - Method in class gate.mimir.search.query.SequenceQuery.Gap
Checks whether two given term positions can be the start and the end of this gap (i.e.
checkPosition(int) - Method in class gate.mimir.index.AtomicIndex.PostingsList
Checks whether the given position is valid (i.e.
clear() - Method in class gate.mimir.index.AtomicIndex.PostingsList
Empties all the data from this postings list making it ready to be reused.
clone() - Method in class gate.mimir.search.terms.AbstractDocumentsBasedTermsQuery
 
close() - Method in class gate.mimir.index.AtomicIndex
Notifies this index to stop its indexing operations, and waits for all data to be written.
close() - Method in class gate.mimir.index.DocumentCollection
Close this document collection and release all allocated resources (such as open file handles).
close() - Method in class gate.mimir.index.DocumentCollection.CollectionFile
 
close() - Method in class gate.mimir.index.DocumentCollection.CollectionFileWriter
 
close() - Method in class gate.mimir.index.GATEDocument
 
close() - Method in class gate.mimir.MimirIndex
Stops this index from accepting any further document for indexing, stops this index from accepting any more queries, finishes indexing all the currently queued documents, writes all the files to disk, after which it returns control to the calling thread.
close() - Method in class gate.mimir.search.FederatedQueryRunner
 
close() - Method in class gate.mimir.search.IndexReaderPool
 
close() - Method in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
 
close() - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
close() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
close() - Method in class gate.mimir.search.query.AndQuery.AndQueryExecutor
 
close() - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
close() - Method in class gate.mimir.search.query.ExecutorsList
Closes all executors still live, and releases all memory resources.
close() - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
close() - Method in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
close() - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
close() - Method in interface gate.mimir.search.query.QueryExecutor
Closes this QueryExecutor and releases all resources used.
close() - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
close() - Method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
 
close() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
close() - Method in class gate.mimir.search.QueryEngine
Closes this QueryEngine and releases all resources.
close() - Method in interface gate.mimir.search.QueryRunner
Closes this QueryExecutor and releases all resources used.
close() - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
close(AtomicAnnotationIndex) - Method in interface gate.mimir.SemanticAnnotationHelper
Closes this annotation helper.
close(QueryEngine) - Method in interface gate.mimir.SemanticAnnotationHelper
Closes this annotation helper.
close(AtomicAnnotationIndex) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
close(QueryEngine) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
closed - Variable in class gate.mimir.MimirIndex
 
closed - Variable in class gate.mimir.search.query.AbstractQueryExecutor
Flag to mark whether the executor has been closed.
closed - Variable in class gate.mimir.search.query.ExecutorsList
Has ExecutorsList.close() been called?
closed - Variable in class gate.mimir.search.RankingQueryRunnerImpl
Internal flag used to mark when this query runner has been closed.
collectHits(long[]) - Method in class gate.mimir.search.RankingQueryRunnerImpl
Makes sure all the documents in the specified range are queued for hit collection.
CollectionFile(File) - Constructor for class gate.mimir.index.DocumentCollection.CollectionFile
 
collectionFileNumber - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
Each collection file has a number, and optionally a suffix.
collectionFiles - Variable in class gate.mimir.index.DocumentCollection
The zip files containing the document collection.
collectionFileWriter - Variable in class gate.mimir.index.DocumentCollection
 
CollectionFileWriter(File) - Constructor for class gate.mimir.index.DocumentCollection.CollectionFileWriter
 
colon - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
column - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
combine(TermsResultSet...) - Method in class gate.mimir.search.terms.AndTermsQuery
 
combine(TermsResultSet...) - Method in interface gate.mimir.search.terms.CompoundTermsQuery
Applies the logic of this query operator to an array of ready-constructed result sets representing the results of the sub-queries.
combine(TermsResultSet...) - Method in class gate.mimir.search.terms.LimitTermsQuery
 
combine(TermsResultSet...) - Method in class gate.mimir.search.terms.OrTermsQuery
 
combine(TermsResultSet...) - Method in class gate.mimir.search.terms.SortedTermsQuery
 
combineDirectIndexes(List<AtomicIndex.MG4JIndex>, String) - Static method in class gate.mimir.index.AtomicIndex
Given a set of direct indexes (MG4J indexes, with counts, but no positions, that form a lexical cluster) this method produces one single output index containing the data from all the input indexes.
comma - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
compact() - Method in class gate.mimir.index.DocumentCollection
Combines multiple smaller collection files into larger ones.
compactDocumentCollection() - Method in class gate.mimir.MimirIndex
Requests that the DocumentCollection contained by this index is compacted.
compactIndex() - Method in class gate.mimir.index.AtomicIndex
Combines all the currently existing batches, generating a new head index.
compactIndexSync() - Method in class gate.mimir.MimirIndex.IndexMaintenanceRunner2
Request the index compaction, and waits for all the operations to complete.
compactIndexTask - Variable in class gate.mimir.index.AtomicIndex
If a request was made to compress the index (combine all sub-indexes into a new head) this value will be non-null.
compare(Annotation, Annotation) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper.StartComparator
 
compareTo(DocumentCollection.CollectionFile) - Method in class gate.mimir.index.DocumentCollection.CollectionFile
 
compareTo(Binding) - Method in class gate.mimir.search.query.Binding
 
CompoundTermsQuery - Interface in gate.mimir.search.terms
A TermsQuery that combines a group of other terms queries.
computeCompoundCount(int[], AbstractCompoundTermsQuery.CompoundCountsStrategy) - Static method in class gate.mimir.search.terms.AbstractCompoundTermsQuery
Given an array of counts, compute the output count taking into account the provided AbstractCompoundTermsQuery.countsStrategy.
computeMark(int, int, Binding[], int[]) - Static method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
Computes the mark for a current hit.
concatenateArrays(String[]...) - Static method in class gate.mimir.AbstractSemanticAnnotationHelper
Helper method to concatenate a number of arrays into one, for helpers that don't support all the feature types and want to combine some of them together.
ConstQuery - Class in gate.mimir.search.query
A query that returns a pre-defined (constant) list of document IDs.
ConstQuery(long[]) - Constructor for class gate.mimir.search.query.ConstQuery
Creates a new ConstQuery query.
ConstQuery.ConstQueryExecutor - Class in gate.mimir.search.query
Executor implementation for ConstQuery.
ConstQueryExecutor(ConstQuery, QueryEngine) - Constructor for class gate.mimir.search.query.ConstQuery.ConstQueryExecutor
 
Constraint - Class in gate.mimir
A constraint over an annotation feature value.
Constraint(ConstraintType, String, Object) - Constructor for class gate.mimir.Constraint
Creates a constraint for an annotation feature.
ConstraintType - Enum in gate.mimir
Types of predicates used for annotation queries.
ConstTermsQuery - Class in gate.mimir.search.terms
A terms query that returns a pre-defined (constant) terms result set.
ConstTermsQuery(TermsResultSet) - Constructor for class gate.mimir.search.terms.ConstTermsQuery
Constructs a new instance of ConstTermsQuery.
containedBindings - Variable in class gate.mimir.search.query.Binding
The bindings for the sub-query nodes.
containsDocument(long) - Method in class gate.mimir.index.DocumentCollection.CollectionFile
 
ContainsQuery - Class in gate.mimir.search.query
Filtering query that matches hits from the target query that contain a hit of the filter query, i.e.
ContainsQuery(QueryNode, QueryNode) - Constructor for class gate.mimir.search.query.ContainsQuery
 
content(int) - Method in class gate.mimir.index.GATEDocument
 
copy() - Method in class gate.mimir.index.GATEDocumentFactory
 
copy() - Method in class gate.mimir.search.score.BindingScorer
 
copy() - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
copy() - Method in class gate.mimir.util.IgnoreEmptiesTermProcessor
 
copy() - Method in class gate.mimir.util.NormalizingTermProcessor
 
count() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
countsEnabled - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
 
countsEnabled - Variable in class gate.mimir.search.terms.AnnotationTermsQuery
If set to true, for each returned term (i.e mention URI) the inverted index is used to provide the number of occurrences.
countsEnabled - Variable in class gate.mimir.search.terms.TermTypeTermsQuery
If set to true, term counts are calculated during the execution of the query.
countsStrategy - Variable in class gate.mimir.search.terms.AbstractCompoundTermsQuery
 
criteria - Variable in class gate.mimir.search.terms.SortedTermsQuery
 
curChar - Variable in class gate.mimir.search.query.parser.QueryParserTokenManager
 
currentDoc - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
currentEntries - Variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
The number of entries written so far to the current zip file.
currentLength - Variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
The amount of bytes written so far to the current zip file.
currentTerm - Variable in class gate.mimir.index.AtomicIndex
A mutable string used to create instances of MutableString on the cheap.
currentToken - Variable in exception gate.mimir.search.query.parser.ParseException
This is the last token that has been consumed successfully.
CustomObjectInputStream() - Constructor for class gate.mimir.index.DocumentCollection.CustomObjectInputStream
 
CustomObjectInputStream(InputStream) - Constructor for class gate.mimir.index.DocumentCollection.CustomObjectInputStream
 

D

debugStream - Variable in class gate.mimir.search.query.parser.QueryParserTokenManager
 
DEFAULT - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
DEFAULT_DOCUMENT_BLOCK_SIZE - Static variable in class gate.mimir.search.QueryEngine
The default value for the document block size.
DEFAULT_INDEXING_QUEUE_SIZE - Static variable in class gate.mimir.MimirIndex
The default length for the buffer input / output queues for sub-indexers.
DEFAULT_LOAD_FACTOR - Static variable in class gate.mimir.search.query.ExecutorsList
The load factor used when none specified in constructor.
DEFAULT_MAX_LIVE_EXECUTORS - Static variable in class gate.mimir.search.query.ExecutorsList
The default maximum number of executor to be kept live.
DEFAULT_MAXIMUM_BATCHES - Static variable in class gate.mimir.IndexConfig
The default value for IndexConfig.maximumBatches
DEFAULT_OCCURRENCES_PER_BATCH - Static variable in class gate.mimir.MimirIndex
How many occurrences to index in each batch.
DEFAULT_SCORE - Static variable in interface gate.mimir.search.QueryRunner
The default score given to all documents when actual scoring is not being performed.
DEFAULT_SORT_CRITERIA - Static variable in class gate.mimir.search.terms.SortedTermsQuery
The default sort criteria: returned terms are sorted by: terms count (descending), then by term string (ascending), then by term ID (ascending)
DEFAULT_STOP_WORDS - Static variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
The default set of stop words.
DEFAULT_TAG_TYPES - Static variable in class gate.mimir.index.OriginalMarkupMetadataHelper
The names of the original tags that should be preserved as document metadata in the zip collection, and used for rendering documents.
DEFAULT_TIME_BETWEEN_BATCHES - Static variable in class gate.mimir.IndexConfig
The default value for IndexConfig.timeBetweenBatches (1 hour).
DEFAULT_TOKENISER_CLASS_NAME - Static variable in class gate.mimir.search.query.parser.QueryParser
 
DefaultMentionDescriber - Class in gate.mimir.util
Default implementation of a AbstractSemanticAnnotationHelper.MentionDescriber that simply lists the annotation type and the descriptive features (see AbstractSemanticAnnotationHelper.getDescriptiveFeatures() and their values.
DefaultMentionDescriber() - Constructor for class gate.mimir.util.DefaultMentionDescriber
 
delegate - Variable in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
DELEGATE_KEY - Static variable in class gate.mimir.util.DelegatingSemanticAnnotationHelper
Map key for the Groovy-friendly constructor in subclasses.
DelegatingScoringQueryExecutor - Class in gate.mimir.search.score
Implementation of MimirScorer that delegates the scoring work to an MG4J DelegatingScorer.
DelegatingScoringQueryExecutor(DelegatingScorer) - Constructor for class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
DelegatingSemanticAnnotationHelper - Class in gate.mimir.util
SemanticAnnotationHelper that simply delegates all method calls to another helper object.
DelegatingSemanticAnnotationHelper() - Constructor for class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
DELETED_DOCUMENT_IDS_FILE_NAME - Static variable in class gate.mimir.MimirIndex
The name for the file (stored in the root index directory) containing the serialised version of the MimirIndex.deletedDocumentIds.
deleteDocument(long) - Method in class gate.mimir.MimirIndex
Marks a given document (identified by its ID) as deleted.
deleteDocuments(Collection<? extends Number>) - Method in class gate.mimir.MimirIndex
Marks the given batch of documents (identified by ID) as deleted.
describeAnnotations - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
If set to true, term strings for annotation mentions are replaced with their description (see SemanticAnnotationHelper.describeMention(String).
describeAnnotations - Variable in class gate.mimir.search.terms.AnnotationTermsQuery
If set to true, term strings for annotation mentions are replaced with their description (see SemanticAnnotationHelper.describeMention(String).
describeAnnotations - Variable in class gate.mimir.search.terms.TermTypeTermsQuery
If set to true, term strings for annotation mentions are replaced with their description (see SemanticAnnotationHelper.describeMention(String).
describeMention(String) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
describeMention(AbstractSemanticAnnotationHelper, String, String[], String[]) - Method in interface gate.mimir.AbstractSemanticAnnotationHelper.MentionDescriber
 
describeMention(String) - Method in interface gate.mimir.SemanticAnnotationHelper
Provides a human-friendly representation of a mention, specified by the given URI.
describeMention(AbstractSemanticAnnotationHelper, String, String[], String[]) - Method in class gate.mimir.util.DefaultMentionDescriber
 
describeMention(String) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
describeMention(AbstractSemanticAnnotationHelper, String, String[], String[]) - Method in class gate.mimir.util.OntologyMentionDescriber
 
describeMention(AbstractSemanticAnnotationHelper, String, String[], String[]) - Method in class gate.mimir.util.PatternMentionDescriber
 
descriptiveFeatures - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The list of names for all the features that should be used when describing an annotation mention (see AbstractSemanticAnnotationHelper.describeMention(String)).
determineLastGoodBatch(File) - Static method in class gate.mimir.util.TruncateIndex
Determines the last "good" batch name (head or tail-N) for the given index, and stashes any bad batches in the broken-batches directory.
DIGIT - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
DIRECT_INDEX_NAME_SUFFIX - Static variable in class gate.mimir.index.AtomicIndex
FIles belonging to teh direct index get this suffix added to their basename.
DIRECT_TERMS_FILENAME - Static variable in class gate.mimir.index.AtomicIndex
 
directIndex - Variable in class gate.mimir.index.AtomicIndex
The direct index for this atomic index.
directIndex - Variable in class gate.mimir.index.AtomicIndex.MG4JIndex
 
directTermFilter - Variable in class gate.mimir.index.AtomicIndex.MG4JIndex
 
directTermIds - Variable in class gate.mimir.index.AtomicIndex
This map associates direct index terms with their IDs.
directTerms - Variable in class gate.mimir.index.AtomicIndex
The terms in the direct index, in the order they were first seen during indexing.
disable_tracing() - Method in class gate.mimir.search.query.parser.QueryParser
 
dispose() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
dispose() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
docBlockSize - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The number of documents to be ranked (of have their hits collected) as a block.
docIdCollectorFuture - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The task that's working on collecting all the document IDs.
DocIdsCollector() - Constructor for class gate.mimir.search.RankingQueryRunnerImpl.DocIdsCollector
 
docMetadataHelpers - Variable in class gate.mimir.index.AtomicTokenIndex
An array of helpers for creating document metadata.
document() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
document() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
DOCUMENT_DATA_CACHE_SIZE - Static variable in class gate.mimir.index.DocumentCollection
The maximum number of documents to be stored in the in-RAM document cache.
DOCUMENT_URI_FEATURE_DEFAULT_NAME - Static variable in class gate.mimir.IndexConfig
The default feature name for obtaining document URIs (provided as features on documents).
documentCache - Variable in class gate.mimir.index.DocumentCollection
A cache of DocumentData values used for returning the various document details (title, URI, text).
DocumentCollection - Class in gate.mimir.index
A Mimir document collection.
DocumentCollection(File) - Constructor for class gate.mimir.index.DocumentCollection
Creates a DocumentCollection object for accessing the document data.
documentCollection - Variable in class gate.mimir.MimirIndex
The zipped document collection from MG4J (built during the indexing of the first token feature).
DocumentCollection.CollectionFile - Class in gate.mimir.index
Class representing one of the collection (zip) files.
DocumentCollection.CollectionFileWriter - Class in gate.mimir.index
Class that handles the creation of collection files.
DocumentCollection.CustomObjectInputStream - Class in gate.mimir.index
Custom implementation of ObjectInputStream that handles reading old mimir archive files where the contents include serialised classes with old (pre-Mímir-5) class names.
documentCount - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
The number of documents contained.
DocumentData - Class in gate.mimir.index
A container for the document data that gets stored in the zip collection.
DocumentData(String, String, String[], String[]) - Constructor for class gate.mimir.index.DocumentData
Constructs a new DocumentData object.
documentEnd() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
documentEnd(GATEDocument, DocumentData) - Method in interface gate.mimir.DocumentMetadataHelper
Called when the indexing of a document has completed.
documentEnd(GATEDocument, DocumentData) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
 
documentEnd() - Method in interface gate.mimir.SemanticAnnotationHelper
Notifies this helper that the current document has finished.
documentEnd() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
documentEnd(GATEDocument, DocumentData) - Method in class gate.mimir.util.DocumentFeaturesMetadataHelper
 
documentEnding(GATEDocument) - Method in class gate.mimir.index.AtomicAnnotationIndex
 
documentEnding(GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Hook for subclasses, called after annotations for this document have been processed.
documentEnding(GATEDocument) - Method in class gate.mimir.index.AtomicTokenIndex
If zipping, inform the collection builder that we finished the current document.
DocumentFeaturesMetadataHelper - Class in gate.mimir.util
A simple DocumentMetadataHelper that copies the values of some GATE document features as metadata fields in the index.
DocumentFeaturesMetadataHelper(Map<String, String>) - Constructor for class gate.mimir.util.DocumentFeaturesMetadataHelper
Creates a new DocumentFeaturesMetadataHelper.
DocumentFeaturesMetadataHelper(String...) - Constructor for class gate.mimir.util.DocumentFeaturesMetadataHelper
Creates a new DocumentFeaturesMetadataHelper.
documentHelpers - Variable in class gate.mimir.index.AtomicAnnotationIndex
 
documentHits - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The sets of hits for each returned document.
documentID - Variable in class gate.mimir.search.query.Binding
The document ID for this binding.
documentIds - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The document IDs for the documents found to contain hits.
documentIds - Variable in class gate.mimir.search.terms.AbstractDocumentsBasedTermsQuery
The IDs for the documents used by this query.
DocumentMetadataHelper - Interface in gate.mimir
Interface for classes that implement a method of generating document metadata.
documentNonTokens - Variable in class gate.mimir.index.AtomicTokenIndex
Stores the document non-tokens for writing to the zip collection;
DocumentRenderer - Interface in gate.mimir
A document renderer is used to display a document and, optionally, a set of query hits.
DOCUMENTS_QUEUE_FILE_NAME - Static variable in class gate.mimir.index.AtomicIndex
The file name (under the current directory for this atomic index) for the directory containing the documents that have been queued for indexing, but not yet indexed.
DocumentsAndTermsQuery - Class in gate.mimir.search.terms
Find the terms that occur in all the documents in a given set.
DocumentsAndTermsQuery(String, QueryEngine.IndexType, boolean, boolean, long...) - Constructor for class gate.mimir.search.terms.DocumentsAndTermsQuery
Creates a new Documents-AND terms query.
DocumentsBasedTermsQuery - Interface in gate.mimir.search.terms
Interface for TermsQuery types that use documents as part of the query specification.
documentScores - Variable in class gate.mimir.search.RankingQueryRunnerImpl
If scoring is enabled (RankingQueryRunnerImpl.scorer is not null), this list contains the scores for the documents found to contain hits.
documentsInRAM - Variable in class gate.mimir.index.AtomicIndex
The number of documents currently stored in RAM.
documentSizesInRAM - Variable in class gate.mimir.index.AtomicIndex
The sizes (numbers of terms) for all the documents indexed in RAM.
documentsOrder - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The order the documents should be returned in (elements in this list are indexes in RankingQueryRunnerImpl.documentIds).
DocumentsOrTermsQuery - Class in gate.mimir.search.terms
Find the terms that occur in any of the documents in a given set.
DocumentsOrTermsQuery(String, QueryEngine.IndexType, boolean, boolean, long...) - Constructor for class gate.mimir.search.terms.DocumentsOrTermsQuery
Creates a new Documents-OR terms query.
documentStart(Document) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
documentStart(GATEDocument) - Method in interface gate.mimir.DocumentMetadataHelper
Called when the indexing a new document begins.
documentStart(GATEDocument) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
 
documentStart(Document) - Method in interface gate.mimir.SemanticAnnotationHelper
Prepares this helper for running on a new document.
documentStart(Document) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
documentStart(GATEDocument) - Method in class gate.mimir.util.DocumentFeaturesMetadataHelper
 
documentStarting(GATEDocument) - Method in class gate.mimir.index.AtomicAnnotationIndex
 
documentStarting(GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Hook for subclasses, called before processing the annotations for this document.
documentStarting(GATEDocument) - Method in class gate.mimir.index.AtomicTokenIndex
If zipping, inform the collection builder that a new document is about to start.
DocumentTags() - Constructor for class gate.mimir.index.OriginalMarkupMetadataHelper.DocumentTags
 
DocumentTermsQuery - Class in gate.mimir.search.terms
A TermsQuery that returns the terms occurring in a document.
DocumentTermsQuery(String, QueryEngine.IndexType, boolean, boolean, long) - Constructor for class gate.mimir.search.terms.DocumentTermsQuery
Creates a new document term query.
documentTitle - Variable in class gate.mimir.index.DocumentData
The Document title.
documentTokens - Variable in class gate.mimir.index.AtomicTokenIndex
Stores the document tokens for writing to the zip collection;
documentURI - Variable in class gate.mimir.index.DocumentData
The Document URI
Done() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 

E

EMPTY - Static variable in class gate.mimir.search.terms.TermsResultSet
Constant representing the empty result set.
enable_tracing() - Method in class gate.mimir.search.query.parser.QueryParser
 
END_OF_QUEUE - Static variable in class gate.mimir.index.GATEDocument
A special instance of GATEDocument used to mark the end of a queue.
endColumn - Variable in class gate.mimir.search.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class gate.mimir.search.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
engine - Variable in class gate.mimir.search.query.AbstractQueryExecutor
The QueryEngine in which we run.
engine - Variable in class gate.mimir.search.query.ExecutorsList
The QueryEngine used to create executors.
engine - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
The query engine used to execute this query.
EOF - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
eol - Variable in exception gate.mimir.search.query.parser.ParseException
The end of line string for this machine.
equals(Object) - Method in class gate.mimir.index.Mention
 
equals - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
escape - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
execute(QueryEngine) - Method in class gate.mimir.search.terms.AbstractCompoundTermsQuery
Executes each sub-query and then calls CompoundTermsQuery.combine(TermsResultSet...) passing the array of TermsResultSet values thus produced.
execute(QueryEngine) - Method in class gate.mimir.search.terms.AnnotationTermsQuery
 
execute(QueryEngine) - Method in class gate.mimir.search.terms.ConstTermsQuery
 
execute(QueryEngine) - Method in class gate.mimir.search.terms.DocumentsAndTermsQuery
 
execute(QueryEngine) - Method in class gate.mimir.search.terms.DocumentsOrTermsQuery
 
execute(QueryEngine) - Method in class gate.mimir.search.terms.DocumentTermsQuery
 
execute(QueryEngine) - Method in interface gate.mimir.search.terms.TermsQuery
Runs the term query (in the calling thread) and returns the matched terms.
execute(QueryEngine) - Method in class gate.mimir.search.terms.TermTypeTermsQuery
 
executor - Variable in class gate.mimir.search.QueryEngine
The executor used to run tasks for query execution.
EXECUTOR_NOT_STARTED - Static variable in class gate.mimir.search.query.ExecutorsList
Value returned when ExecutorsList.latestDocument(int) is called for an executor that was not started yet (i.e.
executors - Variable in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
The QueryExecutors for the contained nodes.
executors - Variable in class gate.mimir.search.query.ExecutorsList
An array contining the executors (some position may be null, if the executor on that location has been dropped from RAM).
executors - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
The QueryExecutors for the contained nodes.
executorsFirst - Variable in class gate.mimir.search.query.ExecutorsList
 
executorsLast - Variable in class gate.mimir.search.query.ExecutorsList
 
ExecutorsList - Class in gate.mimir.search.query
Class for managing a large list of QueryExecutors.
ExecutorsList(int, QueryEngine, QueryNode[]) - Constructor for class gate.mimir.search.query.ExecutorsList
Constructor.
ExecutorsList(QueryEngine, QueryNode[]) - Constructor for class gate.mimir.search.query.ExecutorsList
Constructor that uses the default maximum number of live executors.
executorsNext - Variable in class gate.mimir.search.query.ExecutorsList
 
executorsPrev - Variable in class gate.mimir.search.query.ExecutorsList
 
executorsSize - Variable in class gate.mimir.search.query.ExecutorsList
 
ExpandBuff(boolean) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
expectedTokenSequences - Variable in exception gate.mimir.search.query.parser.ParseException
Each entry in this array is an array of integers.
extractHitsRec(RepeatsQuery, List<Binding[]>, List<Binding>, int[][], int, int, Binding[]) - Static method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
Recursively extracts the hits
extractHitsRec(SequenceQuery, List<Binding[]>, Binding[][], int[][], int, int, Binding[]) - Static method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
Recursively extracts the hits

F

factory - Variable in class gate.mimir.index.AtomicTokenIndex
GATE document factory used by the zip builder, and also to translate field indexes to field names.
FEATURE_FINDER - Static variable in class gate.mimir.util.PatternMentionDescriber
Regex used to find feature names in the pattern.
featureName - Variable in class gate.mimir.Constraint
The name of the feature to be tested.
featureName - Variable in class gate.mimir.index.AtomicTokenIndex
The feature name corresponding to the field.
featureNames - Variable in class gate.mimir.util.PatternMentionDescriber
The set of feature names that actually occur in the pattern.
featureNameToFieldName - Variable in class gate.mimir.util.DocumentFeaturesMetadataHelper
A map storing the correspondence between the GATE document feature name and the metadata field name in the Mimir index.
FederatedQueryRunner - Class in gate.mimir.search
A QueryRunner that presents a set of sub-indexes (represented by their own QueryRunners) as a single index.
FederatedQueryRunner(QueryRunner[]) - Constructor for class gate.mimir.search.FederatedQueryRunner
 
fieldIndex(String) - Method in class gate.mimir.index.GATEDocumentFactory
 
fieldName(int) - Method in class gate.mimir.index.GATEDocumentFactory
 
fieldType(int) - Method in class gate.mimir.index.GATEDocumentFactory
 
file - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
 
FILENAME_FILTER - Static variable in class gate.mimir.index.DocumentCollection.CollectionFile
 
FillBuff() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
filterByDescriptionNot(TermsResultSet, String...) - Static method in class gate.mimir.search.terms.TermsResultSet
Enumerates a result set and produces a new one after removing all the terms with descriptions in the banned list.
findRank(double, long, long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
Given a document score, finds the correct insertion point into the RankingQueryRunnerImpl.documentsOrder list, within a given range of ranks.
firstEntry - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
 
floatFeatureNames - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The list of names for the numeric features.
flush() - Method in class gate.mimir.index.AtomicAnnotationIndex
 
flush() - Method in class gate.mimir.index.AtomicIndex
Closes all file-based resources.
flush() - Method in class gate.mimir.index.AtomicIndex.PostingsList
Notifies this postings list that it has received all the data
flush() - Method in class gate.mimir.index.AtomicTokenIndex
Overridden to close the zip collection builder.
FORMAT_VERSION - Static variable in class gate.mimir.IndexConfig
The current format version for the XML files containing serialisations of IndexConfig instances.
frequency() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
front - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
frontSize - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 

G

gap - Variable in class gate.mimir.search.query.GapQuery
The length of the gap to be added at the end of all results.
Gap(int, int) - Constructor for class gate.mimir.search.query.SequenceQuery.Gap
Creates a new SequenceQuery.Gap.
GapQuery - Class in gate.mimir.search.query
A query node that wraps another query node and adds a gap with a specified length (as number of terms) at the end of every result.
GapQuery(QueryNode, int) - Constructor for class gate.mimir.search.query.GapQuery
Constructs a new GapQuery
gapQuery - Variable in class gate.mimir.search.query.GapQuery.GapQueryExecutor
The query to be executed.
GapQuery() - Method in class gate.mimir.search.query.parser.QueryParser
Gap.
GapQuery.GapQueryExecutor - Class in gate.mimir.search.query
 
GapQueryExecutor(GapQuery, QueryEngine) - Constructor for class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
gate.mimir - package gate.mimir
This is the Mímir Java API.
gate.mimir.index - package gate.mimir.index
Classes to support indexing of of GATE documents.
gate.mimir.search - package gate.mimir.search
 
gate.mimir.search.query - package gate.mimir.search.query
 
gate.mimir.search.query.parser - package gate.mimir.search.query.parser
 
gate.mimir.search.score - package gate.mimir.search.score
 
gate.mimir.search.terms - package gate.mimir.search.terms
 
gate.mimir.util - package gate.mimir.util
 
GATEDocument - Class in gate.mimir.index
An implementation of MG4J Document interface for representing GATE documents during the indexing process.
GATEDocument() - Constructor for class gate.mimir.index.GATEDocument
Private constructor used to create the GATEDocument.END_OF_QUEUE instance.
GATEDocument(Document, IndexConfig) - Constructor for class gate.mimir.index.GATEDocument
 
GATEDocumentFactory - Class in gate.mimir.index
An MG4J DocumentFactory for GATE documents, configured according to the current indexing requirements.
GATEDocumentFactory(IndexConfig) - Constructor for class gate.mimir.index.GATEDocumentFactory
 
ge - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
generateParseException() - Method in class gate.mimir.search.query.parser.QueryParser
 
generateTermMap(File, File, File) - Static method in class gate.mimir.index.AtomicIndex
Given a terms file (text file with one term per line) this method generates the corresponding termmap file (binary representation of a StringMap).
getAnnotationHelper(String) - Method in class gate.mimir.search.QueryEngine
 
getAnnotationHelper(AnnotationQuery) - Method in class gate.mimir.search.QueryEngine
Get the SemanticAnnotationHelper corresponding to a query's annotation type.
getAnnotationIndex(String) - Method in class gate.mimir.MimirIndex
Returns the AtomicAnnotationIndex instance responsible for indexing annotations of the type specified.
getAnnotationIndex(String) - Method in class gate.mimir.search.QueryEngine
Returns the index that stores the data for a particular semantic annotation type.
getAnnotationType() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getAnnotationType() - Method in class gate.mimir.search.query.AnnotationQuery
Gets the annotation type for this query.
getAnnotationType() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getAnnotationTypes() - Method in class gate.mimir.IndexConfig.SemanticIndexerConfig
Gets the types of annotations indexed by this indexer.
getAnnotsToProcess(GATEDocument) - Method in class gate.mimir.index.AtomicAnnotationIndex
 
getAnnotsToProcess(GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Get the annotations that are to be processed for a document, in increasing order of offset.
getAnnotsToProcess(GATEDocument) - Method in class gate.mimir.index.AtomicTokenIndex
Get the token annotations from this document, in increasing order of offset.
getArchiveCount() - Method in class gate.mimir.index.DocumentCollection
Returns the number of archive files in this collection.
getBatchCount() - Method in class gate.mimir.index.AtomicIndex
Returns the number of batches in this atomic index.
getBeginColumn() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getBeginLine() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getClosingTag(String) - Static method in class gate.mimir.index.OriginalMarkupMetadataHelper
Calculates the closing tag for a given opening tag.
getCollectionFileId(String) - Static method in class gate.mimir.index.DocumentCollection.CollectionFile
Given the name of a zip file, this method returns its ID: the part of the file name between the prefix () and the suffix (), or null if the name is not that of a valid collection file.
getCollectionFileName(String) - Static method in class gate.mimir.index.DocumentCollection.CollectionFile
 
getCollectionFileNumber(String) - Static method in class gate.mimir.index.DocumentCollection.CollectionFile
 
getColumn() - Method in class gate.mimir.search.query.parser.SimpleCharStream
Deprecated. 
getConstraints() - Method in class gate.mimir.search.query.AnnotationQuery
Gets the feature constraints, represented as a Map from feature name (a String) to feature value (also a String).
getContainedBindings() - Method in class gate.mimir.search.query.Binding
Gets the bindings corresponding to all the sub-nodes of the query node for this binding.
getContext() - Method in class gate.mimir.IndexConfig
Gets the map used for passing values between the various pluggable elements in this index (such as annotation helpers).
getCountsStrategy() - Method in class gate.mimir.search.terms.AbstractCompoundTermsQuery
Gets the current counts strategy.
getDelegate() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getDescriptiveFeatures() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
Gets the names of features that should be used when describing an annotation mention.
getDescriptiveFeatureValues(String) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
Calculates the textual representations for the values of features that are part of the description of an annotation mention.
getDictionary() - Method in class gate.mimir.search.IndexReaderPool
Gets the terms dictionary for this index.
getDirectIndex() - Method in class gate.mimir.index.AtomicIndex
Gets the direct index for this atomic index.
getDirectTerm(long) - Method in class gate.mimir.index.AtomicIndex
Gets the term string for a given direct term ID.
getDirectTermOccurenceCount(long) - Method in class gate.mimir.index.AtomicIndex
Gets the occurrence count in the whole index for a given direct term, specified by a direct term ID (which must have been obtained from the direct index of this index).
getDirectTerms() - Method in class gate.mimir.index.AtomicIndex
Gets the list of direct terms for this index.
getDocMetadataHelpers() - Method in class gate.mimir.IndexConfig
Gets the array of document metadata helpers.
getDocument() - Method in class gate.mimir.index.GATEDocument
Obtains the GATE document wrapped by this object.
getDocument(InputStream, Reference2ObjectMap<Enum<?>, Object>) - Method in class gate.mimir.index.GATEDocumentFactory
 
getDocumentBlockSize() - Method in class gate.mimir.search.QueryEngine
Gets the configuration parameter specifying the number of documents that get processed as a block.
getDocumentCollection() - Method in class gate.mimir.MimirIndex
Gets the DocumentCollection instance used by this index.
getDocumentData(Long) - Method in class gate.mimir.index.DocumentCollection.CollectionFile
 
getDocumentData(long) - Method in class gate.mimir.index.DocumentCollection
Gets the document data for a given document ID.
getDocumentData(long) - Method in class gate.mimir.MimirIndex
Gets the DocumentData for a given document ID, from the on disk document collection.
getDocumentHits(long) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentHits(long) - Method in interface gate.mimir.search.QueryRunner
Retrieves the hits within a given result document.
getDocumentHits(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentID(long) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentId() - Method in class gate.mimir.search.query.Binding
Gets the documentID for this binding.
getDocumentID(long) - Method in interface gate.mimir.search.QueryRunner
Gets the ID of a result document.
getDocumentID(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentIds() - Method in class gate.mimir.search.query.ConstQuery
 
getDocumentIds() - Method in class gate.mimir.search.terms.AbstractDocumentsBasedTermsQuery
 
getDocumentIds() - Method in interface gate.mimir.search.terms.DocumentsBasedTermsQuery
Gets the IDs of the documents that are part of this query specification.
getDocumentIndex(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
Given a document rank, return its index in the RankingQueryRunnerImpl.documentIds list.
getDocumentMetadataField(long, String) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentMetadataField(long, String) - Method in class gate.mimir.search.QueryEngine
Obtains an arbitrary document metadata field from the stored document data.
getDocumentMetadataField(long, String) - Method in interface gate.mimir.search.QueryRunner
Obtains an arbitrary document metadata field from the stored document data.
getDocumentMetadataField(long, String) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentMetadataFields(long, Set<String>) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentMetadataFields(long, Set<String>) - Method in interface gate.mimir.search.QueryRunner
Obtains a set of arbitrary document metadata fields from the stored document data.
getDocumentMetadataFields(long, Set<String>) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentRenderer() - Method in class gate.mimir.IndexConfig
Gets the renderer to be used for displaying documents and hits.
getDocumentScore(long) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentScore(long) - Method in interface gate.mimir.search.QueryRunner
Get the score for a given result document.
getDocumentScore(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentsCount() - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentsCount() - Method in interface gate.mimir.search.QueryRunner
Gets the number of result documents.
getDocumentsCount() - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentsCountSync() - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentsCountSync() - Method in interface gate.mimir.search.QueryRunner
Synchronous version of QueryRunner.getDocumentsCount() that waits if necessary before returning the correct result (instead of returning -1 of the value is not yet known).
getDocumentsCountSync() - Method in class gate.mimir.search.RankingQueryRunnerImpl
Synchronous version of RankingQueryRunnerImpl.getDocumentsCount() that waits if necessary before returning the correct result (instead of returning -1 of the value is not yet known).
getDocumentsCurrentCount() - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentsCurrentCount() - Method in interface gate.mimir.search.QueryRunner
Gets the number of result documents found so far.
getDocumentsCurrentCount() - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentSize(long) - Method in class gate.mimir.MimirIndex
Gets the size (number of tokens) for a document.
getDocumentText(long, int, int) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentText(long, int, int) - Method in interface gate.mimir.search.QueryRunner
Gets a segment of the document text for a given document.
getDocumentText(long, int, int) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentTitle() - Method in class gate.mimir.index.DocumentData
 
getDocumentTitle(long) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentTitle(long) - Method in class gate.mimir.search.QueryEngine
 
getDocumentTitle(long) - Method in interface gate.mimir.search.QueryRunner
Obtains the title for a given document.
getDocumentTitle(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentURI() - Method in class gate.mimir.index.DocumentData
 
getDocumentURI(long) - Method in class gate.mimir.search.FederatedQueryRunner
 
getDocumentURI(long) - Method in class gate.mimir.search.QueryEngine
 
getDocumentURI(long) - Method in interface gate.mimir.search.QueryRunner
Obtains the URI for a given document.
getDocumentURI(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
getDocumentUriFeatureName() - Method in class gate.mimir.IndexConfig
 
getEndColumn() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getEndLine() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getExecutor(int) - Method in class gate.mimir.search.query.ExecutorsList
 
getExecutor() - Method in class gate.mimir.search.QueryEngine
Gets the executor used by this query engine.
getFeatureName() - Method in class gate.mimir.Constraint
 
getFeatureName() - Method in class gate.mimir.IndexConfig.TokenIndexerConfig
Obtains the name of the feature (on Token annotations) that needs to be indexed by this token indexer.
getFloatFeatures() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getFloatFeatures() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getFormatVersion() - Method in class gate.mimir.IndexConfig
 
getGap() - Method in class gate.mimir.search.query.GapQuery
Gets the gap length.
getGap(int, int) - Static method in class gate.mimir.search.query.SequenceQuery
Obtains a SequenceQuery.Gap that allows a number of terms between the min and max values (inclusive).
getGaps() - Method in class gate.mimir.search.query.SequenceQuery
 
getHelpers() - Method in class gate.mimir.IndexConfig.SemanticIndexerConfig
Gets the SemanticAnnotationHelpers used to index annotations.
getHitsOnCurrentDocument() - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
getHitsOnCurrentDocument() - Method in class gate.mimir.search.query.AndQuery.AndQueryExecutor
 
getHitsOnCurrentDocument() - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
getHitsOnCurrentDocumentOldBCK() - Method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
Attempts to find all the matches on the current document.
getHitsOnCurrentDocumentv2() - Method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
 
getHitsOnCurrentDocumentv3() - Method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
 
getHitText(Binding, int, int) - Method in class gate.mimir.search.QueryEngine
Obtains the document text for a given search hit.
getHitText(Binding) - Method in class gate.mimir.search.QueryEngine
Gets the text covered by a given binding.
GetImage() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getIndex() - Method in class gate.mimir.index.AtomicIndex
Gets the inverted index (an Index value) that can be used to search this atomic index.
getIndex() - Method in class gate.mimir.search.IndexReaderPool
 
getIndex(QueryEngine) - Method in class gate.mimir.search.query.TermQuery
Gets the index for this query in a given QueryEngine.
getIndex() - Method in class gate.mimir.search.QueryEngine
Gets the index this query engine is searching.
getIndexConfig() - Method in class gate.mimir.MimirIndex
Gets the IndexConfig value for this index.
getIndexConfig() - Method in class gate.mimir.search.QueryEngine
 
getIndexDirectory() - Method in class gate.mimir.index.AtomicIndex
Gets the top level directory for this atomic index.
getIndexDirectory() - Method in class gate.mimir.IndexConfig
Gets the top level directory of an index.
getIndexDirectory() - Method in class gate.mimir.MimirIndex
Gets the top level directory for this index.
getIndexedDocumentsCount() - Method in class gate.mimir.MimirIndex
Gets the total number of documents currently searcheable
getIndexingQueueSize() - Method in class gate.mimir.MimirIndex
Returns the size of the indexing queue.
getIndexName() - Method in class gate.mimir.search.query.TermQuery
 
getIndexType() - Method in class gate.mimir.search.query.TermQuery
 
getInnerQuery() - Method in class gate.mimir.search.query.AbstractOverlapQuery
 
getInputQueue() - Method in class gate.mimir.index.AtomicIndex
Gets the input queue used by this atomic index.
getInstance() - Static method in class gate.mimir.util.IgnoreEmptiesTermProcessor
 
getInstance() - Static method in class gate.mimir.util.NormalizingTermProcessor
 
getIntegerFeatures() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getIntegerFeatures() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getLatestDocument() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
getLatestDocument() - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
getLatestDocument() - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
getLatestDocument() - Method in interface gate.mimir.search.query.QueryExecutor
Returns the value returned by the most recent call to #nextDocument(int).
getLeft() - Method in class gate.mimir.search.query.MinusQuery
 
getLeftContext(Binding, int) - Method in class gate.mimir.search.QueryEngine
Get the text to the left of the given binding.
getLength() - Method in class gate.mimir.index.Mention
 
getLength() - Method in class gate.mimir.search.query.Binding
Gets the length (the number of terms) for this binding.
getLength() - Method in class gate.mimir.search.query.TermQuery
 
getLine() - Method in class gate.mimir.search.query.parser.SimpleCharStream
Deprecated. 
getMax() - Method in class gate.mimir.search.query.RepeatsQuery
 
getMax() - Method in class gate.mimir.search.query.SequenceQuery.Gap
 
getMaximumBatches() - Method in class gate.mimir.IndexConfig
Gets the maximum number of on-disk index batches before an index compaction is triggered.
getMentionDescriber() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getMentions(String, Map<String, String>, QueryEngine) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getMentions(String, Map<String, String>, QueryEngine) - Method in interface gate.mimir.SemanticAnnotationHelper
Convenience method: variant of SemanticAnnotationHelper.getMentions(String, List, QueryEngine), where all constraints are of type ConstraintType.EQ.
getMentions(String, List<Constraint>, QueryEngine) - Method in interface gate.mimir.SemanticAnnotationHelper
This method supports searching for annotation mentions.
getMentions(String, List<Constraint>, QueryEngine) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getMentionUris(Annotation, int, AtomicAnnotationIndex) - Method in interface gate.mimir.SemanticAnnotationHelper
This method converts an annotation into the corresponding semantic metadata and returns the mention URIs corresponding to the original annotation.
getMentionUris(Annotation, int, AtomicAnnotationIndex) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getMessage() - Method in exception gate.mimir.search.query.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error gate.mimir.search.query.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMetadataField(String) - Method in class gate.mimir.index.DocumentData
Gets the value of a metadata field.
getMetadataField(DocumentData, String) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
Gets a metadata field value from the metadata map saved by this class.
getMin() - Method in class gate.mimir.search.query.RepeatsQuery
 
getMin() - Method in class gate.mimir.search.query.SequenceQuery.Gap
 
getMode() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getMode() - Method in interface gate.mimir.SemanticAnnotationHelper
Checks whether this helper is configured to work in SemanticAnnotationHelper.Mode.ANNOTATION or SemanticAnnotationHelper.Mode.DOCUMENT mode.
getMode() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
Always return the delegate's mode, as it makes no sense for a delegating helper to operate in a different mode from its underlying delegate.
getName() - Method in class gate.mimir.index.AtomicIndex
Gets the name of this atomic index.
getName(String) - Method in class gate.mimir.util.OntologyMentionDescriber
Calculates the class/instance name according to the settings of this describer.
getNameSpaceSeparator() - Method in class gate.mimir.util.OntologyMentionDescriber
Gets the string used to split the ontology URIs into name space and local name.
getNextToken() - Method in class gate.mimir.search.query.parser.QueryParser
 
getNextToken() - Method in class gate.mimir.search.query.parser.QueryParserTokenManager
 
getNodes() - Method in class gate.mimir.search.query.AndQuery
Gets the sub-queries for this AND query.
getNodes() - Method in class gate.mimir.search.query.OrQuery
 
getNodes() - Method in class gate.mimir.search.query.SequenceQuery
 
getNominalFeatures() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getNominalFeatures() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getNonTokens() - Method in class gate.mimir.index.DocumentData
 
getNonTokens() - Method in class gate.mimir.index.GATEDocument
Gets the array of string representing the document content segments between the token annotations.
getOccurrences() - Method in class gate.mimir.index.GATEDocument
Returns the number of index occurrences that the indexing of this GATEDocument has generated.
getOccurrencesInRam() - Method in class gate.mimir.MimirIndex
Gets the current estimated number of occurrences in RAM.
getOccurrencesPerBatch() - Method in class gate.mimir.MimirIndex
Gets the number of occurrences that should be used as a trigger for a sync to disk operation, leading to the creation of a new index batch.
getOptions() - Method in class gate.mimir.IndexConfig
Gets the options map - a Map with arbitrary configuration options, which is made available to all sub-elements of this index (e.g.
getOuterQuery() - Method in class gate.mimir.search.query.AbstractOverlapQuery
 
getOutputQueue() - Method in class gate.mimir.index.AtomicIndex
Gets the output queue used by this atomic index.
getParent() - Method in class gate.mimir.index.AtomicIndex
Gets the top level MimirIndex to which this atomic index belongs.
getPattern() - Method in class gate.mimir.util.PatternMentionDescriber
 
getPredicate() - Method in class gate.mimir.Constraint
 
getQueryEngine() - Method in class gate.mimir.MimirIndex
Returns the QueryEngine instance that can be used to post queries to this index.
getQueryEngine() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
getQueryEngine() - Method in interface gate.mimir.search.query.QueryExecutor
Gets the QueryEngine that has created this query executor.
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.AndQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.AnnotationQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.ConstQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.ContainsQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.GapQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.MinusQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.OrQuery
 
getQueryExecutor(QueryEngine) - Method in interface gate.mimir.search.query.QueryNode
Obtains a QueryExecutor appropriate for this query node.
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.RepeatsQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.SequenceQuery
 
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.TermQuery
Gets a new query executor for this TermQuery.
getQueryExecutor(QueryEngine) - Method in class gate.mimir.search.query.WithinQuery
 
getQueryNode() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
getQueryNode() - Method in class gate.mimir.search.query.Binding
The QueryNode representing the query segment that this binding is assigned to.
getQueryNode() - Method in interface gate.mimir.search.query.QueryExecutor
Gets that QueryNode representing the query being executed.
getQueryRunner(QueryNode) - Method in class gate.mimir.search.QueryEngine
Obtains a query executor for a given QueryNode.
getQueryRunner(String) - Method in class gate.mimir.search.QueryEngine
Obtains a query executor for a given query, expressed as a String.
getRight() - Method in class gate.mimir.search.query.MinusQuery
 
getRightContext(Binding, int) - Method in class gate.mimir.search.QueryEngine
Get the text to the right of the given binding.
getScorerSource() - Method in class gate.mimir.search.QueryEngine
Gets the current source of scorers.
getSemanticAnnotationSetName() - Method in class gate.mimir.IndexConfig
Gets the name of the annotation set containing semantic annotations.
getSemanticIndexers() - Method in class gate.mimir.IndexConfig
Gets the configuration for all the semantic annotation indexers used.
getStopWords() - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
Gets the current custom list of stop words.
getStopWords() - Method in class gate.mimir.search.terms.TermTypeTermsQuery
Gets the current custom list of stop words.
getSubIndexPosition(QueryEngine.IndexType, String) - Method in class gate.mimir.search.QueryEngine
Finds the location for a given sub-index in the arrays returned by #getIndexes() and #getDirectIndexes().
getSubIndexTerms(int) - Method in class gate.mimir.search.terms.TermsResultSet
Given a position in TermsResultSet.termDescriptions, this method computes all term strings that had that description in each of the sub-indexes of the federated index that produced this result set.
getSubIndexTerms(String) - Method in class gate.mimir.search.terms.TermsResultSet
Tries to locate the correct term position and calls TermsResultSet.getSubIndexTerms(int).
getSubQueries() - Method in class gate.mimir.search.terms.AbstractCompoundTermsQuery
 
getSubQueries() - Method in interface gate.mimir.search.terms.CompoundTermsQuery
Gets the sub-queries that are part of this compound query.
GetSuffix(int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getTabSize(int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
getTagDescriptorIndex(String) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper.DocumentTags
Gets the index in the OriginalMarkupMetadataHelper.DocumentTags.tagDescriptors list for a given tag descriptor.
getTagId(Annotation, OriginalMarkupMetadataHelper.DocumentTags) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
Gets the ID in the current list of tag descriptors for a given annotation
getTerm(long) - Method in class gate.mimir.search.IndexReaderPool
Gets the string term for a given term ID.
getTerm(long) - Method in class gate.mimir.search.IndexReaderPool.IndexDictionary
Gets the term string for a given term ID.
getTerm() - Method in class gate.mimir.search.query.TermQuery
 
getTermId() - Method in class gate.mimir.search.query.TermQuery
 
getTermOccurenceCounts() - Method in class gate.mimir.search.IndexReaderPool
Gets the list of term occurrence counts (global counts for each term in the whole index).
getTermPosition() - Method in class gate.mimir.search.query.Binding
Gets the term position where this binding starts, in the document wth the ID returned by Binding.getDocumentId().
getTermProcessor() - Method in class gate.mimir.IndexConfig.TokenIndexerConfig
Obtains the instance of TermProcessor that needs to be used by this token indexer.
getText(int, int) - Method in class gate.mimir.index.DocumentData
 
getText(long, int, int) - Method in class gate.mimir.search.QueryEngine
Obtains the text for a specified region of a document.
getTextFeatures() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getTextFeatures() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getTimeBetweenBatches() - Method in class gate.mimir.IndexConfig
Gets the current value for the time interval (in milliseconds) between the saving of a batch and the next.
getTimeBetweenBatches() - Method in class gate.mimir.MimirIndex
Gets the time interval (in milliseconds) between sync-to-disk operations.
getToken(int) - Method in class gate.mimir.search.query.parser.QueryParser
 
getTokenAnnotationSetName() - Method in class gate.mimir.IndexConfig
Gets the name for the annotation set where token annotations can be found.
getTokenAnnotationType() - Method in class gate.mimir.IndexConfig
Gets the annotation type to be used for obtaining tokens.
getTokenAnnots() - Method in class gate.mimir.index.GATEDocument
Gets the array of offset-sorted token annotations for this document.
getTokenIndex(String) - Method in class gate.mimir.MimirIndex
Returns the AtomicTokenIndex responsible for indexing a particular feature on token annotations.
getTokenIndex(String) - Method in class gate.mimir.search.QueryEngine
Returns the index that stores the data for a particular feature of token annotations.
getTokenIndexers() - Method in class gate.mimir.IndexConfig
Gets the configuration for all the token indexers used.
getTokens() - Method in class gate.mimir.index.DocumentData
 
getUri() - Method in class gate.mimir.index.Mention
 
getUriFeatures() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
getUriFeatures() - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
getValue() - Method in class gate.mimir.Constraint
 
getWeights() - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
getWrappedQuery() - Method in class gate.mimir.search.query.GapQuery
Gets the wrapped query.
getWrappedQuery() - Method in class gate.mimir.search.query.RepeatsQuery
 
GLOBCOUNTS_EXTENSION - Static variable in class gate.mimir.search.IndexReaderPool
Old (i.e.
groupByDescription(TermsResultSet...) - Static method in class gate.mimir.search.terms.TermsResultSet
This method re-arranges the data included in one or more TermsResultSet values so that each term description occurs only once in the TermsResultSet.termDescriptions array.
gt - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 

H

h - Variable in class gate.mimir.search.score.BindingScorer
 
hasDirectIndex - Variable in class gate.mimir.index.AtomicIndex
Is the direct indexing enabled? Direct indexes are used to find terms occurring in given documents.
hasDirectIndex() - Method in class gate.mimir.index.AtomicIndex
Is a direct index configured for this atomic index.
hashCode() - Method in class gate.mimir.index.Mention
 
hasNext() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
HEAD_FILE_NAME - Static variable in class gate.mimir.index.AtomicIndex
The file name (under the current directory for this atomic index) which stores the principal index.
HEAD_NEW_EXT - Static variable in class gate.mimir.index.AtomicIndex
The file extension used for the temporary directory where the updated head is being built.
HEAD_OLD_EXT - Static variable in class gate.mimir.index.AtomicIndex
The file extension used for the temporary directory where the old head index is being stored while the newly updated one is being installed.
HIT_CLOSING_TAG - Static variable in class gate.mimir.index.OriginalMarkupMetadataHelper
The tag used to mark-up query hits (closing tag).
HIT_OPENING_TAG - Static variable in class gate.mimir.index.OriginalMarkupMetadataHelper
The tag used to mark-up query hits (opening tag).
hitCollectors - Variable in class gate.mimir.search.RankingQueryRunnerImpl
Data structure holding references to Futures that are currently working (or have worked) on collecting hits for a range of document indexes.
HitsCollector(long, long) - Constructor for class gate.mimir.search.RankingQueryRunnerImpl.HitsCollector
 
hitsObtained - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
hitsOnCurrentDocument - Variable in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
hitsOnCurrentDocument - Variable in class gate.mimir.search.query.AndQuery.AndQueryExecutor
The list of available hits for the current document (i.e.
hitsOnCurrentDocument - Variable in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
hitsOnCurrentDocument - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
A list of hits (from the executors) on the current document.
hitsOnCurrentDocument - Variable in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
Holds the hits on the current document.
hitsOnCurrentDocument - Variable in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
A list of hits on the current document.
hitsOnLatestDocument - Variable in class gate.mimir.search.query.ExecutorsList
A cache storing all the hits on the latest document for each executor.
hitsReturned - Variable in class gate.mimir.search.query.ExecutorsList
The number of hits already returned from the latest document, for each executor.
hyphen - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 

I

id(int) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
id() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
IgnoreEmptiesTermProcessor - Class in gate.mimir.util
Term processor that completely ignores null or empty-string terms rather than indexing them as the empty string.
image - Variable in class gate.mimir.search.query.parser.Token
The string image of the token.
in - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
IN_STRING - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
inBuf - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
index() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
index - Variable in class gate.mimir.search.QueryEngine
The index being searched.
INDEX_CONFIG_FILENAME - Static variable in class gate.mimir.MimirIndex
The name of the file in the index directory where the index config is saved.
INDEX_NAME_FILTER - Static variable in class gate.mimir.util.TruncateIndex
 
indexConfig - Variable in class gate.mimir.index.AtomicAnnotationIndex
The IndexConfig used by the MimirIndex that contains this mentions index.
IndexConfig - Class in gate.mimir
Interface for indexer configurations.
IndexConfig(File, String, String, String, IndexConfig.TokenIndexerConfig[], IndexConfig.SemanticIndexerConfig[], DocumentMetadataHelper[], DocumentRenderer) - Constructor for class gate.mimir.IndexConfig
Constructs an index configuration object.
indexConfig - Variable in class gate.mimir.MimirIndex
The IndexConfig used for this index.
indexConfig - Variable in class gate.mimir.search.QueryEngine
The index configuration this index was built from.
IndexConfig.IndexerConfig - Class in gate.mimir
Base class for indexer configs
IndexConfig.SemanticIndexerConfig - Class in gate.mimir
Object storing the configuration for a semantic annotation indexer.
IndexConfig.TokenIndexerConfig - Class in gate.mimir
Object storing the configuration for a Token indexer.
indexCurrentTerm() - Method in class gate.mimir.index.AtomicIndex
Adds the value in AtomicIndex.currentTerm to the index.
IndexDictionary(Iterable<? extends CharSequence>) - Constructor for class gate.mimir.search.IndexReaderPool.IndexDictionary
 
indexDir - Variable in class gate.mimir.index.AtomicIndex.MG4JIndex
 
indexDirectory - Variable in class gate.mimir.index.AtomicIndex
The directory where this atomic index stores its files.
indexDirectory - Variable in class gate.mimir.index.DocumentCollection
The top level directory for the index.
indexDirectory - Variable in class gate.mimir.MimirIndex
The top level directory containing this index.
indexDocument(Document) - Method in class gate.mimir.MimirIndex
Queues a new document for indexing.
IndexerConfig(boolean) - Constructor for class gate.mimir.IndexConfig.IndexerConfig
 
IndexException - Exception in gate.mimir.index
Exception that should be thrown should something unexpected happens during creating/updating/deleting index.
IndexException(String) - Constructor for exception gate.mimir.index.IndexException
Consructor of the class.
IndexException(Throwable) - Constructor for exception gate.mimir.index.IndexException
 
IndexException(String, Throwable) - Constructor for exception gate.mimir.index.IndexException
 
indexingQueueSize - Variable in class gate.mimir.MimirIndex
 
indexingThread - Variable in class gate.mimir.index.AtomicIndex
The single thread used to index documents.
IndexMaintenanceRunner() - Constructor for class gate.mimir.MimirIndex.IndexMaintenanceRunner
 
IndexMaintenanceRunner2() - Constructor for class gate.mimir.MimirIndex.IndexMaintenanceRunner2
 
indexName - Variable in class gate.mimir.index.AtomicIndex.MG4JIndex
 
indexName - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
The name of the subindex in which the terms are sought.
IndexReaderPool - Class in gate.mimir.search
A pool for IndexReader values associated with a given index.
IndexReaderPool(Index, int, URI) - Constructor for class gate.mimir.search.IndexReaderPool
 
IndexReaderPool(Index, URI) - Constructor for class gate.mimir.search.IndexReaderPool
 
IndexReaderPool.IndexDictionary - Class in gate.mimir.search
 
indexType - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
The type of index being searched (tokens or annotations).
indexType - Variable in class gate.mimir.search.terms.TermTypeTermsQuery
The sub-index type in which the terms should be looked up.
IndexUpgrader - Class in gate.mimir.util
Implementation of an algorithm to upgrade a 4.x or 5.0 Mímir index to the format used by the current version.
IndexUpgrader() - Constructor for class gate.mimir.util.IndexUpgrader
 
indices - Variable in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
 
indices() - Method in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
 
indices - Variable in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
indices() - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
indices() - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
indices() - Method in class gate.mimir.search.query.ConstQuery.ConstQueryExecutor
Returns an empty set of indices.
indices() - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
indices() - Method in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
indices - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
indices() - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
indices() - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
indices() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
init(AtomicAnnotationIndex) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
init(AtomicAnnotationIndex) - Method in interface gate.mimir.SemanticAnnotationHelper
Called by the containing MimirIndex when this helper is first created.
init(AtomicAnnotationIndex) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
initIndex() - Method in class gate.mimir.index.AtomicIndex
Opens the index and prepares it for indexing and searching.
innerExecutor - Variable in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
innerQuery - Variable in class gate.mimir.search.query.AbstractOverlapQuery
The query providing the inner intervals.
INPUT_BUFFER_SIZE - Static variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
The number of documents kept in memory until a new zip file is written.
input_stream - Variable in class gate.mimir.search.query.parser.QueryParserTokenManager
 
inputBuffer - Variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
Document data objects that have been written to the zip file currently being created and have to be kept in RAM until the file is closed and can be open in read mode.
inputQueue - Variable in class gate.mimir.index.AtomicIndex
Documents to be indexed are queued in this queue.
inputStream - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
InQuery(Query) - Method in class gate.mimir.search.query.parser.QueryParser
InQuery e.g.
integerFeatureNames - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The list of names for the numeric features.
intervalIterator() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
intervalIterator(Index) - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
intervalIterator() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
intervalIterator(Index) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
intervalIterators() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
intervalIterators() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
invertedIndex - Variable in class gate.mimir.index.AtomicIndex
The cluster-view of all the MG4J indexes that are part of this index (i.e.
invertedIndex - Variable in class gate.mimir.index.AtomicIndex.MG4JIndex
 
invertedTermFilter - Variable in class gate.mimir.index.AtomicIndex.MG4JIndex
 
isCountsEnabled() - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
 
isDeleted(long) - Method in class gate.mimir.MimirIndex
Checks whether a given document (specified by its ID) is marked as deleted.
isDirectIndexEnabled() - Method in class gate.mimir.IndexConfig.IndexerConfig
Should a direct index be also built?
isInited() - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
isLocalNamesOnly() - Method in class gate.mimir.util.OntologyMentionDescriber
Is this describer set to use local (short) names only?
isMentionUri(String) - Method in interface gate.mimir.SemanticAnnotationHelper
Checks whether the supplied string looks like a valid mention URI that may have been returned by a call to SemanticAnnotationHelper.getMentions(String, List, QueryEngine) or SemanticAnnotationHelper.getMentions(String, Map, QueryEngine).
isMentionUri(String) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
isStopWordsBlocked() - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
Should stop words be filtered out from the results? Defaults to false.
isStopWordsBlocked() - Method in class gate.mimir.search.terms.TermTypeTermsQuery
 
isSubBindingsEnabled() - Method in class gate.mimir.search.QueryEngine
Are sub-bindings used in this query engine.

J

jj_nt - Variable in class gate.mimir.search.query.parser.QueryParser
 
jjFillToken() - Method in class gate.mimir.search.query.parser.QueryParserTokenManager
 
jjnewLexState - Static variable in class gate.mimir.search.query.parser.QueryParserTokenManager
 
jjstrLiteralImages - Static variable in class gate.mimir.search.query.parser.QueryParserTokenManager
 

K

kind - Variable in class gate.mimir.search.query.parser.Token
An integer that describes the kind of this token.
KleneQuery(Query) - Method in class gate.mimir.search.query.parser.QueryParser
KleneQuery e.g.

L

lastEntry - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
 
latestDocument - Variable in class gate.mimir.search.query.AbstractQueryExecutor
The latest document ID returned by a call to nextDocument.
latestDocument(int) - Method in class gate.mimir.search.query.ExecutorsList
 
latestDocuments - Variable in class gate.mimir.search.query.ExecutorsList
Array that holds the latest document ID returned by each executor.
le - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
left - Variable in class gate.mimir.search.query.MinusQuery
The left operand.
left - Variable in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
leftbrace - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
leftbracket - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
leftsquarebracket - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
length - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
The size in bytes of the underlying file.
length - Variable in class gate.mimir.search.query.Binding
The length of this binding.
LETTER - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
LexicalError(boolean, int, int, int, String, char) - Static method in error gate.mimir.search.query.parser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class gate.mimir.search.query.parser.QueryParserTokenManager
 
limit - Variable in class gate.mimir.search.terms.LimitTermsQuery
 
LimitTermsQuery - Class in gate.mimir.search.terms
A wrapper for another terms query that limit the number of returned terms to a certain value.
LimitTermsQuery(TermsQuery, int) - Constructor for class gate.mimir.search.terms.LimitTermsQuery
 
line - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
localNamesOnly - Variable in class gate.mimir.util.OntologyMentionDescriber
 
logger - Static variable in class gate.mimir.search.query.ExecutorsList
 
logger - Static variable in class gate.mimir.search.QueryEngine
 
logger - Static variable in class gate.mimir.search.RankingQueryRunnerImpl
Shared logger instance.
logger - Static variable in class gate.mimir.util.IndexUpgrader
 
logger - Static variable in class gate.mimir.util.MG4JTools
 
longToTerm(long) - Static method in class gate.mimir.index.AtomicIndex
Converts a long value into a String containing a zero-padded Hex representation of the input value.
lookingAhead - Variable in class gate.mimir.search.query.parser.QueryParser
 
lt - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 

M

main(String[]) - Static method in class gate.mimir.search.query.parser.QueryParser
 
main(String...) - Static method in class gate.mimir.util.TruncateIndex
 
maintenanceThread - Variable in class gate.mimir.MimirIndex
The thread used to clean-up GATE documents after they have been indexed.
maintenanceThread2 - Variable in class gate.mimir.MimirIndex
Background thread used to subtract occurrence counts for batches that have recently been dumped to disk.
max - Variable in class gate.mimir.search.query.RepeatsQuery
The maximum number of repeats permitted.
MAX_IN_MEMORY_INDEX - Static variable in class gate.mimir.search.QueryEngine
The maximum size of an index that can be loaded in memory (by default 64 MB).
maxDocSizeInRAM - Variable in class gate.mimir.index.AtomicIndex
The size (number of terms) for the longest document indexed but not yet saved.
maxLiveExecutors - Variable in class gate.mimir.search.query.ExecutorsList
The maximum number of executors that should be kept in memory at any one time.
maxNextCharInd - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
mayHaveNext() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
Mention - Class in gate.mimir.index
Simple holder class holding the URI and length of a mention.
Mention(String, int) - Constructor for class gate.mimir.index.Mention
 
mentionDescriber - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
 
mentionIndexes - Variable in class gate.mimir.MimirIndex
The annotation indexes, in the order they are listed in the MimirIndex.indexConfig.
metadata - Variable in class gate.mimir.index.DocumentData
A HashMap of arbitrary metadata (all fields must be Serializable).
MG4JIndex(File, String, Index, BloomFilter<Void>, Index, BloomFilter<Void>) - Constructor for class gate.mimir.index.AtomicIndex.MG4JIndex
 
MG4JTools - Class in gate.mimir.util
Class providing utility methods for working with MG4J indexes.
MG4JTools() - Constructor for class gate.mimir.util.MG4JTools
 
MIMIR_COLLECTION_BASENAME - Static variable in class gate.mimir.index.DocumentCollection.CollectionFile
The filename for the zip collection.
MIMIR_COLLECTION_EXTENSION - Static variable in class gate.mimir.index.DocumentCollection.CollectionFile
The file extension used for the mimir-specific relocatable zip collection definition.
MIMIR_COLLECTION_PATTERN - Static variable in class gate.mimir.index.DocumentCollection.CollectionFile
Regex pattern that recognises a valid collection file name and its parts.
MimirIndex - Class in gate.mimir
A Mímir index which can index documents and answer queries.
MimirIndex(IndexConfig) - Constructor for class gate.mimir.MimirIndex
Creates a new Mímir index.
MimirIndex(File) - Constructor for class gate.mimir.MimirIndex
Open and existing Mímir index.
MimirIndex.IndexMaintenanceRunner - Class in gate.mimir
A Runnable used in a background thread to perform various index maintenance tasks: check that the documents are being returned from the sub-indexers in the same order as they were submitted for indexing; update the MimirIndex.occurrencesInRam value by adding the occurrences produced by indexing new documents. delete indexed documents from GATE
MimirIndex.IndexMaintenanceRunner2 - Class in gate.mimir
A Runnable used in a background thread to perform various index maintenance tasks: update the MimirIndex.occurrencesInRam value by subtracting the occurrence counts for all the batches that have recently been written to disk.
MimirIndex.SyncToDiskTask - Class in gate.mimir
TimerTask used to regularly dump the latest document to an on-disk batch, allowing them to become searchable.
MimirScorer - Interface in gate.mimir.search.score
Base interface for scorers in Mímir.
min - Variable in class gate.mimir.search.query.RepeatsQuery
The minimum number of repeats required.
minus - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
MinusQuery - Class in gate.mimir.search.query
A binary query operator that returns all the hits from the left operand that are not also returned by the right operand.
MinusQuery(QueryNode, QueryNode) - Constructor for class gate.mimir.search.query.MinusQuery
Construct a new MINUS query.
MinusQuery(Query) - Method in class gate.mimir.search.query.parser.QueryParser
MinusQuery e.g.
MinusQuery.MinusQueryExecutor - Class in gate.mimir.search.query
 
MinusQueryExecutor(QueryEngine, MinusQuery) - Constructor for class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
mode - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The working mode for this helper (defaults to Mode#ANNOTATION).

N

name - Variable in class gate.mimir.index.AtomicIndex
The name of this atomic index.
nameSpaceSeparator - Variable in class gate.mimir.util.OntologyMentionDescriber
 
newBatch() - Method in class gate.mimir.index.AtomicIndex
Starts a new MG4J batch.
newDocumentPointer(long) - Method in class gate.mimir.index.AtomicIndex.PostingsList
Start storing the data for a new document
newToken(int) - Static method in class gate.mimir.search.query.parser.Token
Returns a new Token object, by default.
next - Variable in class gate.mimir.search.query.parser.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
nextDocIDs - Variable in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
An array of current nextDocumentID values, for all of the sub nodes.
nextDocument(long) - Method in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
nextDocument() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.AndQuery.AndQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.ConstQuery.ConstQueryExecutor
 
nextDocument(int, long) - Method in class gate.mimir.search.query.ExecutorsList
 
nextDocument(long) - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
nextDocument(long) - Method in interface gate.mimir.search.query.QueryExecutor
Gets the next document that contains a match, with a document ID greater than the ID provided in the from parameter.
nextDocument(long) - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
nextDocument() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
nextDocument(long) - Method in class gate.mimir.search.score.BindingScorer
 
nextDocument(long) - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
nextDocument() - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
nextDocument(long) - Method in interface gate.mimir.search.score.MimirScorer
 
nextDocumentId - Variable in class gate.mimir.index.DocumentCollection
The ID for the next document to be written in this collection.
nextDocumentOld(long) - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.AndQuery.AndQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.AnnotationQuery.AnnotationQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.ConstQuery.ConstQueryExecutor
This query executor type does not support positions, so it always returns null.
nextHit(int) - Method in class gate.mimir.search.query.ExecutorsList
 
nextHit() - Method in class gate.mimir.search.query.GapQuery.GapQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
nextHit() - Method in interface gate.mimir.search.query.QueryExecutor
Gets the next matching position, in the document last returned by DocumentIterator.nextDocument().
nextHit() - Method in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
 
nextHit() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
nextHit() - Method in class gate.mimir.search.score.BindingScorer
 
nextHit() - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
nextHit() - Method in interface gate.mimir.search.score.MimirScorer
 
nextNotDeleted() - Method in class gate.mimir.search.RankingQueryRunnerImpl
Find the next document ID for the current query executor which is not marked as deleted in the index.
nextPosition() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
nextSubRunnerRank - Variable in class gate.mimir.search.FederatedQueryRunner
The next rank that needs to be merged from each sub runner.
NO_LENGTH - Static variable in class gate.mimir.index.Mention
Special value used when the mention has no length information (e.g.
NO_MORE_TASKS - Static variable in class gate.mimir.MimirIndex
Special value used to indicate that the index is closing and there will be no more sync tasks to process (an END_OF_QUEUE value for MimirIndex.syncRequests).
nodes - Variable in class gate.mimir.search.query.AbstractIntersectionQueryExecutor
The sub-queries
nodes - Variable in class gate.mimir.search.query.ExecutorsList
The QueryNode used to create executors.
nodes - Variable in class gate.mimir.search.query.OrQuery
 
nominalFeatureNames - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The list of names for the nominal features.
nonTokens - Variable in class gate.mimir.index.DocumentData
The non-tokens (i.e.
normaliseGaps() - Method in class gate.mimir.search.query.SequenceQuery
Makes sure all required Gap values are defined.
NormalizingTermProcessor - Class in gate.mimir.util
 
number() - Method in class gate.mimir.search.query.parser.QueryParser
Returns true if the next token in the stream is a double number
number - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
numberOfFields() - Method in class gate.mimir.index.GATEDocumentFactory
 

O

occurrencesInRAM - Variable in class gate.mimir.index.AtomicIndex
The number of occurrences represented in RAM and not yet written to disk.
occurrencesInRam - Variable in class gate.mimir.MimirIndex
The total number of occurrences in all sub-indexes that have not yet been written to disk.
occurrencesPerBatch - Variable in class gate.mimir.MimirIndex
How many occurrences to be accumulated in RAM before a new tail batch is written to disk.
offsetComparator - Variable in class gate.mimir.index.AtomicAnnotationIndex
An OffsetComparator used to sort the annotations by offset before indexing.
OntologyMentionDescriber - Class in gate.mimir.util
A AbstractSemanticAnnotationHelper.MentionDescriber for annotations that represent ontology entities.
OntologyMentionDescriber() - Constructor for class gate.mimir.util.OntologyMentionDescriber
 
openCollectionWriter() - Method in class gate.mimir.index.DocumentCollection
Opens the current zip file and sets the #zipFile and #zipOuputStream values accordingly.
openDirectIndexCluster(List<AtomicIndex.MG4JIndex>) - Static method in class gate.mimir.index.AtomicIndex
Opens the direct index files from all the batches and combines them into a LexicalCluster.
openIndex() - Method in class gate.mimir.MimirIndex
Opens the index files, if any, prepares all the sub-indexers specified in the index config, and gets this index ready to start indexing documents and answer queries.
openInvertedIndexCluster(List<AtomicIndex.MG4JIndex>, TermProcessor) - Static method in class gate.mimir.index.AtomicIndex
Creates a documental cluster from a list of AtomicIndex.MG4JIndex values.
openMg4jIndex(URI) - Static method in class gate.mimir.util.MG4JTools
Opens one MG4J index.
openSubIndex(String) - Method in class gate.mimir.index.AtomicIndex
Opens one sub-index, specified as a directory inside this Atomic Index's index directory.
or - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
OriginalMarkupMetadataHelper - Class in gate.mimir.index
An implementation of DocumentMetadataHelper and DocumentRenderer that imports relevant markup tags from the indexed document's original markups annotation set, saves them as document metadata in the zip collection, and then uses these saved values to render the document at search time.
OriginalMarkupMetadataHelper(Set<String>) - Constructor for class gate.mimir.index.OriginalMarkupMetadataHelper
Creates a new document helper/renderer.
OriginalMarkupMetadataHelper.DocumentTags - Class in gate.mimir.index
An object storing a list of tags (obtained from the original markup) that should be saved as document metadata.
OriginalMarkupMetadataHelper.StartComparator - Class in gate.mimir.index
Compares annotation by start offset, end offset, and ID.
originalTermStrings - Variable in class gate.mimir.search.terms.TermsResultSet
This field is populated by the TermsResultSet.groupByDescription(TermsResultSet...) method.
OrQuery - Class in gate.mimir.search.query
Query node for OR queries.
OrQuery(QueryNode...) - Constructor for class gate.mimir.search.query.OrQuery
Creates anew OR Query from an array of sub-queries.
OrQuery(Query) - Method in class gate.mimir.search.query.parser.QueryParser
OrQuery e.g.
OrQuery.OrQueryExecutor - Class in gate.mimir.search.query
Executes a disjunction of other queries.
OrQueryExecutor(OrQuery, QueryEngine) - Constructor for class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
orResultsSets(TermsResultSet[], AbstractCompoundTermsQuery.CompoundCountsStrategy) - Static method in class gate.mimir.search.terms.OrTermsQuery
Given a set of TermsResultSet values, this method combines them into a single TermsResultSet representing the disjunction of all the provided results sets.
OrTermsQuery - Class in gate.mimir.search.terms
Boolean OR operator for term queries.
OrTermsQuery(TermsQuery...) - Constructor for class gate.mimir.search.terms.OrTermsQuery
Constructs a new OR terms query.
outerExecutor - Variable in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
outerQuery - Variable in class gate.mimir.search.query.AbstractOverlapQuery
The query providing the outer intervals.
outputQueue - Variable in class gate.mimir.index.AtomicIndex
Documents that have been indexed are passed on to this queue.
over - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
OverlapQueryExecutor(AbstractOverlapQuery, QueryEngine, AbstractOverlapQuery.SubQuery) - Constructor for class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
 
OverQuery(Query) - Method in class gate.mimir.search.query.parser.QueryParser
OverQuery e.g.

P

parent - Variable in class gate.mimir.index.AtomicIndex
The MimirIndex that this atomic index is a member of.
parse(String) - Static method in class gate.mimir.search.query.parser.QueryParser
Parses the query and returns a top level QueryNode object.
parse(String, LanguageAnalyser) - Static method in class gate.mimir.search.query.parser.QueryParser
Parses the query and returns a top level QueryNode object.
ParseException - Exception in gate.mimir.search.query.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception gate.mimir.search.query.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception gate.mimir.search.query.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception gate.mimir.search.query.parser.ParseException
 
parseString(String) - Method in class gate.mimir.search.query.parser.QueryParser
 
pattern - Variable in class gate.mimir.util.PatternMentionDescriber
The pattern used to generate mention descriptions.
PatternMentionDescriber - Class in gate.mimir.util
A AbstractSemanticAnnotationHelper.MentionDescriber that uses a user-given pattern to describe annotation mentions.
PatternMentionDescriber() - Constructor for class gate.mimir.util.PatternMentionDescriber
Construct a new pattern-based mention describer.
PatternMentionDescriber(String) - Constructor for class gate.mimir.util.PatternMentionDescriber
Construct a new pattern-based mention describer.
payload() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
period - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
plus - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
PostingsList(boolean) - Constructor for class gate.mimir.index.AtomicIndex.PostingsList
 
predicate - Variable in class gate.mimir.Constraint
The predicate of the constraint (which condition should be satisfied).
prepare(QueryEngine) - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
Populates the internal state by obtaining references to the direct and indirect indexes from the QueryEngine.
prevCharIsCR - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
prevCharIsLF - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
processAnnotation(Annotation, GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Indexes one annotation (either a Token or a semantic annotation).
processDocument(GATEDocument) - Method in class gate.mimir.index.AtomicIndex
Adds the supplied document to the in-RAM index.
processPrefix(MutableString) - Method in class gate.mimir.util.IgnoreEmptiesTermProcessor
 
processPrefix(MutableString) - Method in class gate.mimir.util.NormalizingTermProcessor
 
processTerm(MutableString) - Method in class gate.mimir.util.IgnoreEmptiesTermProcessor
 
processTerm(MutableString) - Method in class gate.mimir.util.NormalizingTermProcessor
 
putMetadataField(String, Serializable) - Method in class gate.mimir.index.DocumentData
Adds a new arbitrary metadata field.

Q

query - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
The query being executed.
Query - Interface in gate.mimir.search.query.parser
 
Query(Query) - Method in class gate.mimir.search.query.parser.QueryParser
parse a single query.
query - Variable in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
The query being executed.
queryEngine - Variable in class gate.mimir.MimirIndex
The QueryEngine used to run searches on this index.
QueryEngine - Class in gate.mimir.search
This class represents the entry point to the Mimir search API.
QueryEngine(MimirIndex) - Constructor for class gate.mimir.search.QueryEngine
Constructs a new query engine for a MimirIndex.
queryEngine - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The QueryEngine we run inside.
QueryEngine.IndexType - Enum in gate.mimir.search
Represents the type of index that should be searched.
QueryExecutor - Interface in gate.mimir.search.query
A query executor is capable of running a query (represented as a tree of QueryNodes over a set of indexes.
queryExecutor - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The QueryExecutor for the query being run.
queryNode - Variable in class gate.mimir.search.query.AbstractQueryExecutor
The QueryNode for the query being executed.
queryNode - Variable in class gate.mimir.search.query.Binding
The QueryNode for this binding.
QueryNode - Interface in gate.mimir.search.query
Top level interface for all types of query nodes.
QueryParser - Class in gate.mimir.search.query.parser
QueryParser.
QueryParser(InputStream) - Constructor for class gate.mimir.search.query.parser.QueryParser
 
QueryParser(InputStream, String) - Constructor for class gate.mimir.search.query.parser.QueryParser
 
QueryParser(Reader) - Constructor for class gate.mimir.search.query.parser.QueryParser
 
QueryParser(QueryParserTokenManager) - Constructor for class gate.mimir.search.query.parser.QueryParser
 
QueryParserConstants - Interface in gate.mimir.search.query.parser
 
QueryParserTokenManager - Class in gate.mimir.search.query.parser
 
QueryParserTokenManager(SimpleCharStream) - Constructor for class gate.mimir.search.query.parser.QueryParserTokenManager
 
QueryParserTokenManager(SimpleCharStream, int) - Constructor for class gate.mimir.search.query.parser.QueryParserTokenManager
 
QueryPlus() - Method in class gate.mimir.search.query.parser.QueryParser
Query+ If more than one query detected, an object of sequence query is returned.
QueryRunner - Interface in gate.mimir.search
A QueryRunner is used to manage the execution of the query (supplied as a QueryExecutor).
queryTokeniser - Variable in class gate.mimir.search.QueryEngine
The tokeniser (technically any GATE LA) used to split the text segments found in queries into individual tokens.
question - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
queue - Variable in class gate.mimir.search.query.OrQuery.OrQueryExecutor
 
QuotedTextQuery() - Method in class gate.mimir.search.query.parser.QueryParser
obtaining a term or sequence query with all terms in it.

R

rank2runnerIndex - Variable in class gate.mimir.search.FederatedQueryRunner
For each result document rank, this list supplies the index for the sub-runner that supplied the document.
rank2subRank - Variable in class gate.mimir.search.FederatedQueryRunner
For each result document rank, this list supplies the rank of the document in sub-runner that supplied it.
rankDocuments(long) - Method in class gate.mimir.search.RankingQueryRunnerImpl
Ranks some more documents (i.e.
RankingQueryRunnerImpl - Class in gate.mimir.search
A QueryRunner implementation that can perform ranking.
RankingQueryRunnerImpl(QueryExecutor, MimirScorer) - Constructor for class gate.mimir.search.RankingQueryRunnerImpl
Creates a query runner in ranking mode.
RankingQueryRunnerImpl.BackgroundRunner - Class in gate.mimir.search
The background thread implementation: simply collects Runnables from the RankingQueryRunnerImpl.backgroundTasks queue and runs them.
RankingQueryRunnerImpl.DocIdsCollector - Class in gate.mimir.search
The first action started when a new RankingQueryRunnerImpl is created.
RankingQueryRunnerImpl.HitsCollector - Class in gate.mimir.search
Collects the document hits (i.e.
readChar() - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
readConfigFromFile(File) - Static method in class gate.mimir.IndexConfig
Loads an index config object from a file.
readConfigFromFile(File, File) - Static method in class gate.mimir.IndexConfig
Loads an index config object from a file, but allows the caller to override the index directory stored in the file.
readConfigFromUrl(URL) - Static method in class gate.mimir.IndexConfig
Loads an index config object from a URL.
readConfigFromUrl(URL, File) - Static method in class gate.mimir.IndexConfig
Loads an index config object from a URL, but allows the caller to override the index directory stored in the file.
readDeletedDocs() - Method in class gate.mimir.MimirIndex
Reads the list of deleted documents from disk.
regex() - Method in class gate.mimir.search.query.parser.QueryParser
Returns true if the next token in the stream is a regex word
regex - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
RegexQuery(AnnotationQuery, String) - Method in class gate.mimir.search.query.parser.QueryParser
 
ReInit(InputStream) - Method in class gate.mimir.search.query.parser.QueryParser
 
ReInit(InputStream, String) - Method in class gate.mimir.search.query.parser.QueryParser
 
ReInit(Reader) - Method in class gate.mimir.search.query.parser.QueryParser
 
ReInit(QueryParserTokenManager) - Method in class gate.mimir.search.query.parser.QueryParser
 
ReInit(SimpleCharStream) - Method in class gate.mimir.search.query.parser.QueryParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class gate.mimir.search.query.parser.QueryParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(Reader) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(InputStream, String, int, int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(InputStream, String) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(InputStream) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(InputStream, String, int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
releaseQueryRunner(QueryRunner) - Method in class gate.mimir.search.QueryEngine
Notifies the QueryEngine that the given QueryRunner has been closed.
remove() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
render(DocumentData, List<Binding>, Appendable) - Method in interface gate.mimir.DocumentRenderer
Generates the output format (e.g.
render(DocumentData, List<Binding>, Appendable) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
Renders a document, using the saved original markup tags, and adding tags for the provided query hits.
renderDocument(long, Appendable) - Method in class gate.mimir.search.FederatedQueryRunner
 
renderDocument(long, List<Binding>, Appendable) - Method in class gate.mimir.search.QueryEngine
Renders a document and a list of hits.
renderDocument(long, Appendable) - Method in interface gate.mimir.search.QueryRunner
Render the content of the given document, with the hits for this query highlighted.
renderDocument(long, Appendable) - Method in class gate.mimir.search.RankingQueryRunnerImpl
 
repairLastZip(File) - Static method in class gate.mimir.util.TruncateIndex
 
RepeatsQuery - Class in gate.mimir.search.query
A query node that wraps another query node.
RepeatsQuery(QueryNode, int, int) - Constructor for class gate.mimir.search.query.RepeatsQuery
Creates a new repeats query.
RepeatsQuery.RepeatsQueryExecutor - Class in gate.mimir.search.query
A QueryExecutor for repeats queries.
RepeatsQueryExecutor(RepeatsQuery, QueryEngine) - Constructor for class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
 
requestCompactIndex() - Method in class gate.mimir.index.AtomicIndex
Requests this atomic index to compact its on-disk batches into a single batch.
requestCompactIndex() - Method in class gate.mimir.MimirIndex
Asks each of the sub-indexes in this index to compact all their batches into a single index.
requestSyncToDisk() - Method in class gate.mimir.index.AtomicIndex
Instructs this index to dump to disk all the in-RAM index data at the fist opportunity.
requestSyncToDisk() - Method in class gate.mimir.MimirIndex
Asks this index to write to disk all the index data currently stored in RAM so that it can become searchable.
REQUIRED_DIRECT_INDEX_FILE_EXTENSIONS - Static variable in class gate.mimir.util.IndexUpgrader
A minimal set of files required for a valid direct index.
REQUIRED_INDEX_FILE_EXTENSIONS - Static variable in class gate.mimir.util.IndexUpgrader
A minimal set of files required for a valid index.
REQUIRED_QS_DIRECT_INDEX_FILE_EXTENSIONS - Static variable in class gate.mimir.util.IndexUpgrader
A minimal set of files required for a valid quasi-succinct direct index.
REQUIRED_QS_INDEX_FILE_EXTENSIONS - Static variable in class gate.mimir.util.IndexUpgrader
A minimal set of files required for a valid quasi-succinct index.
reserved() - Method in class gate.mimir.search.query.parser.QueryParser
Returns true if the next token in the stream is a reserved word
resolveClass(ObjectStreamClass) - Method in class gate.mimir.index.DocumentCollection.CustomObjectInputStream
 
returnReader(IndexReader) - Method in class gate.mimir.search.IndexReaderPool
Returns an IndexReader previously borrowed (see IndexReaderPool.borrowReader()) to the pool.
right - Variable in class gate.mimir.search.query.MinusQuery.MinusQueryExecutor
 
right - Variable in class gate.mimir.search.query.MinusQuery
The right operand.
rightbrace - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
rightbracket - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
rightsquarebracket - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
run() - Method in class gate.mimir.index.AtomicIndex
Runnable implementation: the logic of this run method is simply indexing documents queued to the input queue.
run() - Method in class gate.mimir.MimirIndex.IndexMaintenanceRunner
 
run() - Method in class gate.mimir.MimirIndex.IndexMaintenanceRunner2
 
run() - Method in class gate.mimir.MimirIndex.SyncToDiskTask
 
run() - Method in class gate.mimir.search.RankingQueryRunnerImpl.BackgroundRunner
 
run() - Method in class gate.mimir.search.RankingQueryRunnerImpl.DocIdsCollector
 
run() - Method in class gate.mimir.search.RankingQueryRunnerImpl.HitsCollector
 
runningThread - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The background thread used for collecting hits.

S

score(Index) - Method in class gate.mimir.search.score.BindingScorer
 
score() - Method in class gate.mimir.search.score.BindingScorer
 
score() - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
score(Index) - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
scorer - Variable in class gate.mimir.search.RankingQueryRunnerImpl
The MimirScorer to be used for ranking documents.
scorerSource - Variable in class gate.mimir.search.QueryEngine
A callable that produces new MimirScorer instances on request.
SemanticAnnotationHelper - Interface in gate.mimir
Interface for classes that convert annotations into semantic metadata.
SemanticAnnotationHelper.Mode - Enum in gate.mimir
Functioning mode for the annotation helper.
SemanticIndexerConfig(String[], SemanticAnnotationHelper[], boolean) - Constructor for class gate.mimir.IndexConfig.SemanticIndexerConfig
Creates a SemanticIndexerConfig.
semIdxConfid - Variable in class gate.mimir.index.AtomicAnnotationIndex
 
SequenceQuery - Class in gate.mimir.search.query
Implementation for phrase queries.
SequenceQuery(SequenceQuery.Gap[], QueryNode...) - Constructor for class gate.mimir.search.query.SequenceQuery
Constructor from an array of QueryNodes.
SequenceQuery.Gap - Class in gate.mimir.search.query
A gap in a sequence query, represented the number of permitted extra terms between the results of two consecutive sub-queries.
SequenceQuery.SequenceQueryExecutor - Class in gate.mimir.search.query
 
SequenceQueryExecutor(SequenceQuery, QueryEngine) - Constructor for class gate.mimir.search.query.SequenceQuery.SequenceQueryExecutor
 
serialVersionUID - Static variable in class gate.mimir.search.query.SequenceQuery.Gap
 
setAnnotationType(String) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setAnnType(String) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setContainedBindings(Binding[]) - Method in class gate.mimir.search.query.Binding
 
setCount(int) - Method in class gate.mimir.index.AtomicIndex.PostingsList
When storing positions, the count is automatically calculated.
setCountsStrategy(AbstractCompoundTermsQuery.CompoundCountsStrategy) - Method in class gate.mimir.search.terms.AbstractCompoundTermsQuery
A compound terms query produces its result set by combining the result sets from a set of constituent sub-queries.
setCountsStrategy(AbstractCompoundTermsQuery.CompoundCountsStrategy) - Method in class gate.mimir.search.terms.LimitTermsQuery
This method has no effect, as the number of sub-queries is always 1.
setCountsStrategy(AbstractCompoundTermsQuery.CompoundCountsStrategy) - Method in class gate.mimir.search.terms.SortedTermsQuery
This method has no effect, as the number of sub-queries is always 1.
setDebugStream(PrintStream) - Method in class gate.mimir.search.query.parser.QueryParserTokenManager
 
setDelegate(SemanticAnnotationHelper) - Method in class gate.mimir.util.DelegatingSemanticAnnotationHelper
 
setDescriptiveFeatures(String[]) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
Sets the names of features that should be used when describing an annotation mention.
setDocumentBlockSize(int) - Method in class gate.mimir.search.QueryEngine
Sets the configuration parameter specifying the number of documents that get processed in one go (e.g.
setDocumentIds(long...) - Method in class gate.mimir.search.terms.AbstractDocumentsBasedTermsQuery
 
setDocumentIds(long...) - Method in interface gate.mimir.search.terms.DocumentsBasedTermsQuery
Change the IDs of the documents used in this query specification.
setDocumentRenderer(DocumentRenderer) - Method in class gate.mimir.IndexConfig
Sets the renderer to be used for displaying documents and hits.
setDocumentUriFeatureName(String) - Method in class gate.mimir.IndexConfig
 
setExecutor(Executor) - Method in class gate.mimir.search.QueryEngine
Sets the Executor used for executing tasks required for running queries.
setFloatFeatures(String[]) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setFormatVersion(int) - Method in class gate.mimir.IndexConfig
setIndexingQueueSize(int) - Method in class gate.mimir.MimirIndex
Sets the size of the indexing queue(s) used by this index.
setIntegerFeatures(String[]) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setLocalNamesOnly(boolean) - Method in class gate.mimir.util.OntologyMentionDescriber
Set this to true to use local (short) names in the description, or false to use full URIs.
setMaximumBatches(int) - Method in class gate.mimir.IndexConfig
Sets the maximum number of on-disk index batches before an index compaction is triggered.
setMentionDescriber(AbstractSemanticAnnotationHelper.MentionDescriber) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
setMode(SemanticAnnotationHelper.Mode) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setNameSpaceSeparator(String) - Method in class gate.mimir.util.OntologyMentionDescriber
When this describer is set to use OntologyMentionDescriber.localNamesOnly (true by default), the name space separator is used to split ontology URIs into name space and local name.
setNominalFeatures(String[]) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setOccurrencesPerBatch(long) - Method in class gate.mimir.MimirIndex
Sets the number of occurrences that should trigger a sync-to-disk operation leading to a new batch being created from the data previously stored in RAM.
setOutputQueue(BlockingQueue<GATEDocument>) - Method in class gate.mimir.index.GATEDocument
Sets the output queue for this document.
setPattern(String) - Method in class gate.mimir.util.PatternMentionDescriber
Sets the pattern to be used when describing annotation mentions.
setQueryTokeniser(LanguageAnalyser) - Method in class gate.mimir.search.query.parser.QueryParser
Set the GATE LanguageAnalyser used to parse quoted strings in queries.
setQueryTokeniser(LanguageAnalyser) - Method in class gate.mimir.search.QueryEngine
Sets the tokeniser (technically any GATE analyser) used to split the text segments found in queries into individual tokens.
setScorerSource(Callable<MimirScorer>) - Method in class gate.mimir.search.QueryEngine
Provides a Callable that the Query Engine can use for obtaining new instances of MimirScorer to be used for ranking new queries.
setStopWords(Set<String>) - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
 
setStopWords(String[]) - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
Sets the custom list of stop words that should be blocked from query results.
setStopWords(Set<String>) - Method in class gate.mimir.search.terms.TermTypeTermsQuery
Provides the set of stop words to be used.
setStopWords(String[]) - Method in class gate.mimir.search.terms.TermTypeTermsQuery
Sets the custom list of stop words that should be blocked from query results.
setStopWordsBlocked(boolean) - Method in class gate.mimir.search.terms.AbstractIndexTermsQuery
Enables or disables the filtering of stop words from the results.
setStopWordsBlocked(boolean) - Method in class gate.mimir.search.terms.TermTypeTermsQuery
Sets whether stop words should be filtered out of the results.
setSubBindingsEnabled(boolean) - Method in class gate.mimir.search.QueryEngine
 
setTabSize(int) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
setTextFeatures(String[]) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setTimeBetweenBatches(int) - Method in class gate.mimir.IndexConfig
Sets the current value for the time interval (in milliseconds) between the saving of a batch and the next.
setTimeBetweenBatches(int) - Method in class gate.mimir.MimirIndex
Sets the time interval (in milliseconds) between sync-to-disk operations.
setUriFeatures(String[]) - Method in class gate.mimir.AbstractSemanticAnnotationHelper
 
setWeights(Reference2DoubleMap<Index>) - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
SimpleCharStream - Class in gate.mimir.search.query.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, String) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class gate.mimir.search.query.parser.SimpleCharStream
 
size() - Method in class gate.mimir.search.query.ExecutorsList
Returns the number of nodes/executors managed by this list.
skipTo(long) - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
skipTo(long) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
SortedTermsQuery - Class in gate.mimir.search.terms
A wrapper for another terms query that simply sorts the returned terms based on some criteria.
SortedTermsQuery(TermsQuery, SortedTermsQuery.SortOrder...) - Constructor for class gate.mimir.search.terms.SortedTermsQuery
Creates a new sorted terms query, wrapping the provided query, and using the given sort criteria.
SortedTermsQuery(TermsQuery) - Constructor for class gate.mimir.search.terms.SortedTermsQuery
Creates a new sorted terms query, wrapping the provided query, and using the SortedTermsQuery.DEFAULT_SORT_CRITERIA.
SortedTermsQuery.SortOrder - Enum in gate.mimir.search.terms
 
sortTermsResultSetByTermString(TermsResultSet) - Static method in class gate.mimir.search.terms.TermsResultSet
Sorts the arrays inside a TermsResultSet using the termString for comparison.
special - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
specialConstructor - Variable in exception gate.mimir.search.query.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class gate.mimir.search.query.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
start() - Method in class gate.mimir.search.query.parser.QueryParser
 
StartComparator() - Constructor for class gate.mimir.index.OriginalMarkupMetadataHelper.StartComparator
 
stashBatches(File, List<String>) - Static method in class gate.mimir.util.TruncateIndex
 
staticFlag - Static variable in class gate.mimir.search.query.parser.SimpleCharStream
 
stopWords - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
Stop words set used for filtering out stop words.
stopWords - Variable in class gate.mimir.search.terms.TermTypeTermsQuery
Stop words set used for filtering out stop words.
stopWordsBlocked - Variable in class gate.mimir.search.terms.AbstractIndexTermsQuery
Should stop words be filtered out of the results?
stopWordsBlocked - Variable in class gate.mimir.search.terms.TermTypeTermsQuery
Should stop words be filtered out of the results?
string - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
subBindingsEnabled - Variable in class gate.mimir.search.QueryEngine
Should sub-bindings be generated when searching?
subIndexes - Variable in class gate.mimir.MimirIndex
subQueries - Variable in class gate.mimir.search.terms.AbstractCompoundTermsQuery
The wrapped wrappedQuery
subRunners - Variable in class gate.mimir.search.FederatedQueryRunner
The query runners for the sub-indexes.
swap(int, int) - Method in class gate.mimir.search.terms.TermsResultSet.Swapper
 
Swapper(TermsResultSet) - Constructor for class gate.mimir.search.terms.TermsResultSet.Swapper
 
SwitchTo(int) - Method in class gate.mimir.search.query.parser.QueryParserTokenManager
 
syncRequests - Variable in class gate.mimir.MimirIndex
A list of futures representing sync-to-disk operations currently in-progress in all of the sub-indexes.
SyncToDiskTask() - Constructor for class gate.mimir.MimirIndex.SyncToDiskTask
 

T

tabSize - Variable in class gate.mimir.search.query.parser.SimpleCharStream
 
tagNameForAnnotation(Annotation) - Method in class gate.mimir.index.OriginalMarkupMetadataHelper
Returns the tag name that should be used to represent the given annotation.
TAGS_KEY - Static variable in class gate.mimir.index.OriginalMarkupMetadataHelper
 
TAIL_FILE_NAME_PREFIX - Static variable in class gate.mimir.index.AtomicIndex
The prefix used for file names (under the current directory for this atomic index) for updates to the head index.
TAILS_FILENAME_FILTER - Static variable in class gate.mimir.index.AtomicIndex
 
targetQuery - Variable in class gate.mimir.search.query.AbstractOverlapQuery.OverlapQueryExecutor
Which of the sub-queries is the target?
term() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
term(CharSequence) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
termCounts - Variable in class gate.mimir.search.terms.TermsResultSet
The counts (numbers of occurrences) for the terms.
termDescriptions - Variable in class gate.mimir.search.terms.TermsResultSet
For annotation indexes, the term string is simply a URI in whatever format is used by the SemanticAnnotationHelper that was used to index the annotations.
termLengths - Variable in class gate.mimir.search.terms.TermsResultSet
The lengths (number of tokens) for the terms.
termMap - Variable in class gate.mimir.index.AtomicIndex
An in-memory inverted index that gets dumped to files for each batch.
termNumber() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
TermOrNamedIndexQuery() - Method in class gate.mimir.search.query.parser.QueryParser
UnQuotedText or NamedIndexQuery e.g.
termPosition - Variable in class gate.mimir.search.query.Binding
The term position for this binding.
termProcessor - Variable in class gate.mimir.index.AtomicIndex
The term processor used to process the feature values being indexed.
TermQuery - Class in gate.mimir.search.query
A QueryNode for term queries.
TermQuery(String, String) - Constructor for class gate.mimir.search.query.TermQuery
Creates a new term query, for searching over the document text.
TermQuery(String, String, long) - Constructor for class gate.mimir.search.query.TermQuery
Creates a new term query, for searching over the document text.
TermQuery(String, String, int) - Constructor for class gate.mimir.search.query.TermQuery
Creates a new term query, for searching over semantic annotations.
TermQuery(String, String, long, int) - Constructor for class gate.mimir.search.query.TermQuery
Creates a new term query, for searching over semantic annotations.
TermQuery(QueryEngine.IndexType, String, String, int) - Constructor for class gate.mimir.search.query.TermQuery
Creates a new term query.
TermQuery(QueryEngine.IndexType, String, String, long, int) - Constructor for class gate.mimir.search.query.TermQuery
Creates a new term query.
TermQuery.TermQueryExecutor - Class in gate.mimir.search.query
TermQueryExecutor(TermQuery, QueryEngine) - Constructor for class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
TermsQuery - Interface in gate.mimir.search.terms
A query that returns terms rather than documents.
TermsResultSet - Class in gate.mimir.search.terms
Class representing the results of a TermsQuery.
TermsResultSet(String[], int[], int[], String[]) - Constructor for class gate.mimir.search.terms.TermsResultSet
 
TermsResultSet.Swapper - Class in gate.mimir.search.terms
A Swapper implementation for TermsResultSets.
termStrings - Variable in class gate.mimir.search.terms.TermsResultSet
The strings for the terms.
termType - Variable in class gate.mimir.search.terms.TermTypeTermsQuery
The term type for this query.
TermTypeTermsQuery - Class in gate.mimir.search.terms
A TermsQuery that enumerates all terms of a given type.
TermTypeTermsQuery(String, QueryEngine.IndexType, boolean, boolean) - Constructor for class gate.mimir.search.terms.TermTypeTermsQuery
Constructs a new term-type terms query.
TermTypeTermsQuery(String, QueryEngine.IndexType) - Constructor for class gate.mimir.search.terms.TermTypeTermsQuery
Constructs a new term-type terms query, with the specified term type and index type.
textFeatureNames - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The list of names for the text features.
title() - Method in class gate.mimir.index.GATEDocument
 
tok - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
token - Variable in class gate.mimir.search.query.parser.QueryParser
 
Token - Class in gate.mimir.search.query.parser
Describes the input token stream.
Token() - Constructor for class gate.mimir.search.query.parser.Token
 
token_source - Variable in class gate.mimir.search.query.parser.QueryParser
 
tokenImage - Variable in exception gate.mimir.search.query.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface gate.mimir.search.query.parser.QueryParserConstants
 
TokenIndexerConfig(String, TermProcessor, boolean) - Constructor for class gate.mimir.IndexConfig.TokenIndexerConfig
Creates a new TokenIndexerConfig.
tokenIndexes - Variable in class gate.mimir.MimirIndex
The token indexes, in the order they are listed in the MimirIndex.indexConfig.
TokenMgrError - Error in gate.mimir.search.query.parser
 
TokenMgrError() - Constructor for error gate.mimir.search.query.parser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error gate.mimir.search.query.parser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error gate.mimir.search.query.parser.TokenMgrError
 
tokenPosition - Variable in class gate.mimir.index.AtomicIndex
The position of the current (or most-recently used) token in the current document.
tokens - Variable in class gate.mimir.index.DocumentData
The tokens of the document.
toString() - Method in class gate.mimir.Constraint
 
toString() - Method in class gate.mimir.index.AtomicIndex.PostingsList
 
toString() - Method in class gate.mimir.index.OriginalMarkupMetadataHelper.DocumentTags
 
toString() - Method in class gate.mimir.search.query.AndQuery
 
toString() - Method in class gate.mimir.search.query.AnnotationQuery
 
toString() - Method in class gate.mimir.search.query.ContainsQuery
 
toString() - Method in class gate.mimir.search.query.MinusQuery
 
toString() - Method in class gate.mimir.search.query.OrQuery
 
toString(String) - Method in interface gate.mimir.search.query.parser.Query
 
toString() - Method in class gate.mimir.search.query.parser.Token
Returns the image.
toString() - Method in class gate.mimir.search.query.RepeatsQuery
 
toString() - Method in class gate.mimir.search.query.SequenceQuery
 
toString() - Method in class gate.mimir.search.query.TermQuery
 
toString() - Method in class gate.mimir.search.query.WithinQuery
 
toString() - Method in class gate.mimir.util.IgnoreEmptiesTermProcessor
 
toString() - Method in class gate.mimir.util.NormalizingTermProcessor
 
totalDocumentsInZipCollection(File) - Static method in class gate.mimir.util.TruncateIndex
 
trimBatch(File, String, long) - Static method in class gate.mimir.util.TruncateIndex
Trim the given batch in all sub-indexes to the given length in documents.
trs - Variable in class gate.mimir.search.terms.ConstTermsQuery
The TermsResultSet to be returned upon "execution".
truncateDirectIndex(File, String, String, long) - Static method in class gate.mimir.util.TruncateIndex
Truncate the given direct index to remove documents beyond the given lastDocId.
TruncateIndex - Class in gate.mimir.util
Utility class to fix up a Mimir index that has been corrupted, e.g.
TruncateIndex() - Constructor for class gate.mimir.util.TruncateIndex
 
truncateIndex(File) - Static method in class gate.mimir.util.TruncateIndex
Attempt to fix up a corrupted Mimir index by truncating some number of documents off the end.
TruncateIndex.BatchDetails - Class in gate.mimir.util
 
truncateZipCollectionTo(File, long) - Static method in class gate.mimir.util.TruncateIndex
 

U

undeleteDocument(long) - Method in class gate.mimir.MimirIndex
Mark the given document (identified by ID) as not deleted.
undeleteDocuments(Collection<? extends Number>) - Method in class gate.mimir.MimirIndex
Mark the given documents (identified by ID) as not deleted.
underlyingExecutor - Variable in class gate.mimir.search.score.BindingScorer
 
unescape(String) - Method in class gate.mimir.search.query.parser.QueryParser
converts escape sequences into normal sequences
UpdateLineColumn(char) - Method in class gate.mimir.search.query.parser.SimpleCharStream
 
upgradeFromV7(File) - Static method in class gate.mimir.util.IndexUpgrader
 
upgradeIndex(File) - Static method in class gate.mimir.util.IndexUpgrader
 
upgradeIndex(URI) - Static method in class gate.mimir.util.MG4JTools
Given a index URI (a file URI denoting the index base name for all the index files), this method checks if the index if an older version, and upgrades it to the current version, making sure it can be opened.
upgradeSubIndex(File, int, boolean, IndexConfig.SemanticIndexerConfig) - Static method in class gate.mimir.util.IndexUpgrader
Moves the file belonging to one sub-index.
uri() - Method in class gate.mimir.index.GATEDocument
 
uriFeatureNames - Variable in class gate.mimir.AbstractSemanticAnnotationHelper
The list of names for the URI features.
usesIntervals() - Method in class gate.mimir.search.score.BindingScorer
 
usesIntervals() - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
UTF8_CHARSET_DECODER - Variable in class gate.mimir.index.AtomicTokenIndex
 
UTF8_CHARSET_ENCODER - Variable in class gate.mimir.index.AtomicTokenIndex
 

V

value - Variable in class gate.mimir.Constraint
The value to be compared with the feature value (i.e.
valueOf(String) - Static method in enum gate.mimir.ConstraintType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gate.mimir.search.query.AbstractOverlapQuery.SubQuery
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gate.mimir.search.QueryEngine.IndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gate.mimir.search.terms.AbstractCompoundTermsQuery.CompoundCountsStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gate.mimir.search.terms.SortedTermsQuery.SortOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gate.mimir.SemanticAnnotationHelper.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum gate.mimir.ConstraintType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gate.mimir.search.query.AbstractOverlapQuery.SubQuery
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gate.mimir.search.QueryEngine.IndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gate.mimir.search.terms.AbstractCompoundTermsQuery.CompoundCountsStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gate.mimir.search.terms.SortedTermsQuery.SortOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gate.mimir.SemanticAnnotationHelper.Mode
Returns an array containing the constants of this enum type, in the order they are declared.

W

weight() - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
weight(double) - Method in class gate.mimir.search.query.AbstractQueryExecutor
 
weight(double) - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
weight() - Method in class gate.mimir.search.query.TermQuery.TermQueryExecutor
 
WithinQuery - Class in gate.mimir.search.query
Filtering query that matches hits from the target query that are contained inside a hit of the filter query, i.e.
WithinQuery(QueryNode, QueryNode) - Constructor for class gate.mimir.search.query.WithinQuery
 
wordReader(int) - Method in class gate.mimir.index.GATEDocument
 
wrap(DocumentIterator) - Method in class gate.mimir.search.score.BindingScorer
 
wrap(DocumentIterator) - Method in class gate.mimir.search.score.DelegatingScoringQueryExecutor
 
wrap(DocumentIterator) - Method in interface gate.mimir.search.score.MimirScorer
Wraps a QueryExecutor allowing this scorer to provide scoring functionality on top of it.
wrappedExecutor - Variable in class gate.mimir.search.query.GapQuery.GapQueryExecutor
The executor of the query wrapped by this gap query.
wrappedExecutor - Variable in class gate.mimir.search.query.RepeatsQuery.RepeatsQueryExecutor
The executor for the query wrapped by this RepeastQuery.
wrappedQuery - Variable in class gate.mimir.search.query.GapQuery
The query node wrapped by this GapQuery.
wrappedQuery - Variable in class gate.mimir.search.query.RepeatsQuery
The wrapped query.
write(IndexWriter) - Method in class gate.mimir.index.AtomicIndex.PostingsList
Writes the data contained in this postings list to an index writer
writeConfigToFile(IndexConfig, File) - Static method in class gate.mimir.IndexConfig
Saves an IndexConfig object to a file via XML serialisation.
writeCurrentBatch() - Method in class gate.mimir.index.AtomicIndex
Writes all the data currently stored in RAM to a new index batch.
writeDeletedDocsLater() - Method in class gate.mimir.MimirIndex
Writes the set of deleted document to disk in a background thread, after a short delay.
writeDirectIndex(File) - Method in class gate.mimir.index.AtomicIndex
Writes the in-RAM data to a new direct index batch.
writeDocument(DocumentData) - Method in class gate.mimir.index.DocumentCollection
Writes a new document to the underlying zip file.
writeDocumentData(long, DocumentData) - Method in class gate.mimir.index.DocumentCollection.CollectionFileWriter
 
writeZipDocumentData(DocumentData) - Method in class gate.mimir.MimirIndex
Called by the first token indexer when a new document has been indexed to ask the main index to save the necessary zip collection data

Z

ZIP_COLLECTION_COMPARATOR - Static variable in class gate.mimir.util.TruncateIndex
Comparator that orders mimir zip collection files by number (e.g.
ZIP_FILE_MAX_ENTRIES - Static variable in class gate.mimir.index.DocumentCollection
The maximum number of entries to write to a single zip file.
ZIP_FILE_MAX_SIZE - Static variable in class gate.mimir.index.DocumentCollection
The maximum number of bytes to write to a single zip file.
zipCollectionEnabled - Variable in class gate.mimir.index.AtomicTokenIndex
Is this token index responsible for writing the zip collection?
zipFile - Variable in class gate.mimir.index.DocumentCollection.CollectionFile
 
zipFile - Variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
The zip file to which we are currently writing.
zipOuputStream - Variable in class gate.mimir.index.DocumentCollection.CollectionFileWriter
The zip file managed by this collection.
A B C D E F G H I J K L M N O P Q R S T U V W Z 

Copyright © 2021 GATE. All rights reserved.