From 7b1b6b339915a6a7fc6cf0274e6df1f7b59dc062 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 13 Mar 2013 20:24:18 +0000 Subject: [PATCH] remove CREATE when creating taxo writer git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456118 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/facet/doc-files/userguide.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html b/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html index ca68aca72ea..04c9fa5991c 100755 --- a/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html +++ b/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html @@ -261,7 +261,7 @@ Following is a code snippet for indexing categories. The complete example can be found in package org.apache.lucene.facet.example.simple.SimpleIndexer.
 IndexWriter writer = ...
-TaxonomyWriter taxo = new DirectoryTaxonomyWriter(taxoDir, OpenMode.CREATE);
+TaxonomyWriter taxo = new DirectoryTaxonomyWriter(taxoDir);
 ...
 Document doc = new Document();
 doc.add(new Field("title", titleText, Store.YES, Index.ANALYZED));