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 escaped (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
Lexical state.
ArgEquals - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
ArgName - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
ArgQuote1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
ArgQuote2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
ArgValue() - Method in class org.apache.lucene.demo.html.HTMLParser
 
ArgValue - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.

B

backup(int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
Backup a number of characters.
beginColumn - Variable in class org.apache.lucene.demo.html.Token
The column number of the first character of this Token.
beginLine - Variable in class org.apache.lucene.demo.html.Token
The line number of the first character of this Token.
BeginToken() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Start.
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
Position in buffer.

C

CloseQuote1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
CloseQuote2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
column - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 
Comment1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
Comment2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
CommentEnd1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
CommentEnd2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
CommentTag() - Method in class org.apache.lucene.demo.html.HTMLParser
 
CommentText1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
CommentText2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
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
Debug output.
Decl() - Method in class org.apache.lucene.demo.html.HTMLParser
 
DeclName - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
DEFAULT - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Lexical state.
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
Disable tracing.
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
Reset buffer when finished.
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
Enable tracing.
encode(String) - Static method in class org.apache.lucene.demo.html.Entities
 
endColumn - Variable in class org.apache.lucene.demo.html.Token
The column number of the last character of this Token.
endLine - Variable in class org.apache.lucene.demo.html.Token
The line number 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
RegularExpression Id.
EOF - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
End of File.
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
Generate ParseException.
getBeginColumn() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Get token beginning line number.
getColumn() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Deprecated.  
getEndColumn() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Get token end column number.
getEndLine() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Get token end line number.
GetImage() - Method in class org.apache.lucene.demo.html.SimpleCharStream
Get token literal value.
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
Get the next Token.
getNextToken() - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
Get the next Token.
getReader() - Method in class org.apache.lucene.demo.html.HTMLParser
 
GetSuffix(int) - Method in class org.apache.lucene.demo.html.SimpleCharStream
Get the suffix.
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
Get the specific Token.
getValue() - Method in class org.apache.lucene.demo.html.Token
An optional attribute value of the Token.

H

HEX - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
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
Constructor with InputStream.
HTMLParser(InputStream, String) - Constructor for class org.apache.lucene.demo.html.HTMLParser
Constructor with InputStream and supplied encoding
HTMLParser(Reader) - Constructor for class org.apache.lucene.demo.html.HTMLParser
Constructor.
HTMLParser(HTMLParserTokenManager) - Constructor for class org.apache.lucene.demo.html.HTMLParser
Constructor with generated Token Manager.
HTMLParserConstants - Interface in org.apache.lucene.demo.html
Token literal values and constants.
HTMLParserTokenManager - Class in org.apache.lucene.demo.html
Token Manager.
HTMLParserTokenManager(SimpleCharStream) - Constructor for class org.apache.lucene.demo.html.HTMLParserTokenManager
Constructor.
HTMLParserTokenManager(SimpleCharStream, int) - Constructor for class org.apache.lucene.demo.html.HTMLParserTokenManager
Constructor.

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
Next token.
jjFillToken() - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
 
jjnewLexState - Static variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class org.apache.lucene.demo.html.HTMLParserTokenManager
Token literal values.

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
RegularExpression Id.
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
Lexer state names.
line - Variable in class org.apache.lucene.demo.html.SimpleCharStream
 

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, String) - Static method in class org.apache.lucene.demo.html.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.apache.lucene.demo.html.Token
 
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
RegularExpression Id.

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
Constructor with message.
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
RegularExpression Id.

Q

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

R

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

S

ScriptEnd - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
ScriptStart - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
ScriptTag() - Method in class org.apache.lucene.demo.html.HTMLParser
 
ScriptText - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
SearchFiles - Class in org.apache.lucene.demo
Simple command-line based search demo.
setDebugStream(PrintStream) - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
Set debug output.
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
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class org.apache.lucene.demo.html.SimpleCharStream
Constructor.
SP - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
Space - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
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
Whether parser is static.
SUMMARY_LENGTH - Static variable in class org.apache.lucene.demo.html.HTMLParser
 
SwitchTo(int) - Method in class org.apache.lucene.demo.html.HTMLParserTokenManager
Switch to specified lex state.

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
RegularExpression Id.
TagName - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
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
Current token.
Token - Class in org.apache.lucene.demo.html
Describes the input token stream.
Token() - Constructor for class org.apache.lucene.demo.html.Token
No-argument constructor
Token(int) - Constructor for class org.apache.lucene.demo.html.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class org.apache.lucene.demo.html.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class org.apache.lucene.demo.html.HTMLParser
Generated Token Manager.
tokenImage - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Literal token values.
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
Token Manager Error.
TokenMgrError() - Constructor for error org.apache.lucene.demo.html.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error org.apache.lucene.demo.html.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.lucene.demo.html.TokenMgrError
Full Constructor.
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
Lexical state.
WithinComment2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Lexical state.
WithinQuote1 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Lexical state.
WithinQuote2 - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Lexical state.
WithinScript - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Lexical state.
WithinTag - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
Lexical state.
Word - Static variable in interface org.apache.lucene.demo.html.HTMLParserConstants
RegularExpression Id.
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.