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

A

add_escapes(String) - Method in exception org.apache.lucene.demo.html.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 org.apache.lucene.demo.html.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
adjustBeginLineColumn(int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
AfterEquals - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ArgEquals - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ArgName - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ArgQuote1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ArgQuote2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ArgValue() - Method in class org.apache.lucene.demo.html.HTMLParser
 
ArgValue - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 

B

backup(int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
beginColumn - Variable in class org.apache.lucene.demo.html.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 org.apache.lucene.demo.html.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 org.apache.lucene.demo.html.SimpleCharStream
 
bufcolumn - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
buffer - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
bufline - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
bufpos - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 

C

CloseQuote1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
CloseQuote2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
column - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
Comment1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
Comment2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
CommentEnd1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
CommentEnd2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
CommentTag() - Method in class org.apache.lucene.demo.html.HTMLParser
 
CommentText1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
CommentText2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
curChar - Variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
currentToken - Variable in exception org.apache.lucene.demo.html.ParseException
This is the last token that has been consumed successfully.

D

debugStream - Variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
Decl() - Method in class org.apache.lucene.demo.html.HTMLParser
 
DeclName - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
DEFAULT - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
DeleteFiles - Class in org.apache.lucene.demo
Deletes documents from an index that do not contain a term.
disable_tracing() - Method in class org.apache.lucene.demo.html.HTMLParser
 
Document(File) - Static method in class org.apache.lucene.demo.FileDocument
Makes a document for a File.
Document(File) - Static method in class org.apache.lucene.demo.HTMLDocument
 
Done() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
doPagingSearch(BufferedReader, Searcher, Query, int, boolean, boolean) - Static method in class org.apache.lucene.demo.SearchFiles
This demonstrates a typical paging search scenario, where the search engine presents pages of size n to the user.
doStreamingSearch(Searcher, Query) - Static method in class org.apache.lucene.demo.SearchFiles
This method uses a custom HitCollector implementation which simply prints out the docId and score of every matching document.

E

enable_tracing() - Method in class org.apache.lucene.demo.html.HTMLParser
 
encode(String) - Static method in class org.apache.lucene.demo.html.Entities
 
endColumn - Variable in class org.apache.lucene.demo.html.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 org.apache.lucene.demo.html.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.
Entities - Class in org.apache.lucene.demo.html
 
Entities() - Constructor for class org.apache.lucene.demo.html.Entities
 
Entity - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
EOF - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
eol - Variable in exception org.apache.lucene.demo.html.ParseException
The end of line string for this machine.
ExpandBuff(boolean) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
expectedTokenSequences - Variable in exception org.apache.lucene.demo.html.ParseException
Each entry in this array is an array of integers.

F

FileDocument - Class in org.apache.lucene.demo
A utility for making Lucene Documents from a File.
FillBuff() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 

G

generateParseException() - Method in class org.apache.lucene.demo.html.HTMLParser
 
getBeginColumn() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
getBeginLine() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
getColumn() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Deprecated.  
getEndColumn() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
getEndLine() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
GetImage() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
getLine() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Deprecated.  
getMessage() - Method in exception org.apache.lucene.demo.html.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error org.apache.lucene.demo.html.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMetaTags() - Method in class org.apache.lucene.demo.html.HTMLParser
 
getNextToken() - Method in class org.apache.lucene.demo.html.HTMLParser
 
getNextToken() - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
getReader() - Method in class org.apache.lucene.demo.html.HTMLParser
 
GetSuffix(int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
getSummary() - Method in class org.apache.lucene.demo.html.HTMLParser
 
getTabSize(int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
getTitle() - Method in class org.apache.lucene.demo.html.HTMLParser
 
getToken(int) - Method in class org.apache.lucene.demo.html.HTMLParser
 

H

HEX - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
HTMLDocument() - Method in class org.apache.lucene.demo.html.HTMLParser
 
HTMLDocument - Class in org.apache.lucene.demo
A utility for making Lucene Documents for HTML documents.
HTMLParser - Class in org.apache.lucene.demo.html
 
HTMLParser(File) - Constructor for class org.apache.lucene.demo.html.HTMLParser
Deprecated. Use HTMLParser(FileInputStream) instead
HTMLParser(InputStream) - Constructor for class org.apache.lucene.demo.html.HTMLParser
 
HTMLParser(InputStream, String) - Constructor for class org.apache.lucene.demo.html.HTMLParser
 
HTMLParser(Reader) - Constructor for class org.apache.lucene.demo.html.HTMLParser
 
HTMLParser(HTMLParserTokenManager) - Constructor for class org.apache.lucene.demo.html.HTMLParser
 
HTMLParserConstants - Interface in org.apache.lucene.demo.html
 
HTMLParserTokenManager - Class in org.apache.lucene.demo.html
 
HTMLParserTokenManager(SimpleCharStream) - Constructor for class org.apache.lucene.demo.html.HTMLParserTokenManager
 
HTMLParserTokenManager(SimpleCharStream, int) - Constructor for class org.apache.lucene.demo.html.HTMLParserTokenManager
 

I

image - Variable in class org.apache.lucene.demo.html.Token
The string image of the token.
inBuf - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
IndexFiles - Class in org.apache.lucene.demo
Index all text files under a directory.
IndexHTML - Class in org.apache.lucene.demo
Indexer for HTML files.
input_stream - Variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
inputStream - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 

J

jj_nt - Variable in class org.apache.lucene.demo.html.HTMLParser
 
jjFillToken() - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
jjnewLexState - Static variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
jjstrLiteralImages - Static variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
 

K

kind - Variable in class org.apache.lucene.demo.html.Token
An integer that describes the kind of this token.

L

LET - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
LexicalError(boolean, int, int, int, String, char) - Static method in error org.apache.lucene.demo.html.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 org.apache.lucene.demo.html.HTMLParserTokenManager
 
line - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
lookingAhead - Variable in class org.apache.lucene.demo.html.HTMLParser
 

M

main(String[]) - Static method in class org.apache.lucene.demo.DeleteFiles
Deletes documents from an index that do not contain a term.
main(String[]) - Static method in class org.apache.lucene.demo.IndexFiles
Index all text files under a directory.
main(String[]) - Static method in class org.apache.lucene.demo.IndexHTML
Indexer for HTML files.
main(String[]) - Static method in class org.apache.lucene.demo.SearchFiles
Simple command-line based search demo.
maxNextCharInd - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 

N

newToken(int) - Static method in class org.apache.lucene.demo.html.Token
Returns a new Token object, by default.
next - Variable in class org.apache.lucene.demo.html.Token
A reference to the next regular (non-special) token from the input stream.
NUM - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 

O

org.apache.lucene.demo - package org.apache.lucene.demo
 
org.apache.lucene.demo.html - package org.apache.lucene.demo.html
 

P

ParseException - Exception in org.apache.lucene.demo.html
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.apache.lucene.demo.html.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.apache.lucene.demo.html.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.apache.lucene.demo.html.ParseException
 
prevCharIsCR - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
prevCharIsLF - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
Punct - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 

Q

Quote1Text - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
Quote2Text - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 

R

readChar() - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream) - Method in class org.apache.lucene.demo.html.HTMLParser
 
ReInit(InputStream, String) - Method in class org.apache.lucene.demo.html.HTMLParser
 
ReInit(Reader) - Method in class org.apache.lucene.demo.html.HTMLParser
 
ReInit(HTMLParserTokenManager) - Method in class org.apache.lucene.demo.html.HTMLParser
 
ReInit(SimpleCharStream) - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(Reader) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream, String, int, int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream, String) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream, String, int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 

S

ScriptEnd - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ScriptStart - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
ScriptTag() - Method in class org.apache.lucene.demo.html.HTMLParser
 
ScriptText - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
SearchFiles - Class in org.apache.lucene.demo
Simple command-line based search demo.
setDebugStream(PrintStream) - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
setTabSize(int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream - Class in org.apache.lucene.demo.html
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 org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(InputStream, String) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
 
SP - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
Space - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
specialConstructor - Variable in exception org.apache.lucene.demo.html.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 org.apache.lucene.demo.html.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag - Static variable in class org.apache.lucene.demo.html.SimpleCharStream
 
SUMMARY_LENGTH - Static variable in class org.apache.lucene.demo.html.HTMLParser
 
SwitchTo(int) - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 

T

tabSize - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
Tag() - Method in class org.apache.lucene.demo.html.HTMLParser
 
TagEnd - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
TagName - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
Tags - Class in org.apache.lucene.demo.html
 
Tags() - Constructor for class org.apache.lucene.demo.html.Tags
 
token - Variable in class org.apache.lucene.demo.html.HTMLParser
 
Token - Class in org.apache.lucene.demo.html
Describes the input token stream.
Token() - Constructor for class org.apache.lucene.demo.html.Token
 
token_source - Variable in class org.apache.lucene.demo.html.HTMLParser
 
tokenImage - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
tokenImage - Variable in exception org.apache.lucene.demo.html.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in org.apache.lucene.demo.html
 
TokenMgrError() - Constructor for error org.apache.lucene.demo.html.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error org.apache.lucene.demo.html.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.lucene.demo.html.TokenMgrError
 
toString() - Method in class org.apache.lucene.demo.html.Token
Returns the image.

U

uid(File) - Static method in class org.apache.lucene.demo.HTMLDocument
 
uid2url(String) - Static method in class org.apache.lucene.demo.HTMLDocument
 
UpdateLineColumn(char) - Method in class org.apache.lucene.demo.html.SimpleCharStream
 

W

WithinComment1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
WithinComment2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
WithinQuote1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
WithinQuote2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
WithinScript - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
WithinTag - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
Word - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
 
WS_ELEMS - Static variable in class org.apache.lucene.demo.html.Tags
contains all tags for which whitespaces have to be inserted for proper tokenization

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

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