Skip to content

Commit 0b3016c

Browse files
authored
Update codeSnippets.md
1 parent 2982187 commit 0b3016c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

codeSnippets.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@
5858
System.out.println(reportContentHandler.getReport());
5959

6060
**Create a Lucene index**
61+
62+
**CAUTION**: We ship a LuceneContentHandler for `Lucene 6.4.2`, the maven dependency is NOT per default in the
63+
pom.xml (marked as provided). We made this choice to get independent from the Lucene dependency. If you want to
64+
use the LuceneContentHandler for `Lucene 6.4.2`, add maven dependencies for `lucene-core`,
65+
`lucene-analyzers-common` and `lucene-queryparser`. It is also just easy to implement an own Lucene data sink by
66+
implementing a DataSinkContentHandler/DataSinkContentHandlerAdapter.
6167
6268
// we use a simple, preconfigured Field configuration here. Modify it for your own fields if necessary
6369
FieldConfig fieldConfig4Wikipedia = WikipediaDumpParser.getFieldConfig4ParserAttributes();

0 commit comments

Comments
 (0)