SentenceSourceIndexer instead (deprecated since 2.4)@Deprecated public class WikipediaIndexHandler extends org.xml.sax.helpers.DefaultHandler implements AutoCloseable
Searcher for a
class that lets you use this index.| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_DOC_COUNT_FIELD
Deprecated.
|
static String |
MAX_DOC_COUNT_FIELD_VAL
Deprecated.
|
static String |
MAX_DOC_COUNT_VALUE
Deprecated.
|
| Constructor and Description |
|---|
WikipediaIndexHandler(org.apache.lucene.store.Directory dir,
Language language,
int start,
int end)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buf,
int offset,
int len)
Deprecated.
|
void |
close()
Deprecated.
|
void |
endElement(String namespaceURI,
String sName,
String qName)
Deprecated.
|
static void |
main(String... args)
Deprecated.
|
void |
startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Deprecated.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic static final String MAX_DOC_COUNT_VALUE
public static final String MAX_DOC_COUNT_FIELD
public static final String MAX_DOC_COUNT_FIELD_VAL
public WikipediaIndexHandler(org.apache.lucene.store.Directory dir,
Language language,
int start,
int end)
public void startElement(String namespaceURI, String lName, String qName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String sName, String qName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerpublic void characters(char[] buf,
int offset,
int len)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerpublic void close()
throws Exception
close in interface AutoCloseableException