// Path: src/main/java/com/github/rnewson/couchdb/lucene/util/Utils.java
// public static Field text(final String name, final String value, final boolean store) {
//     return new TextField(name, value, store ? Store.YES : Store.NO);
// }


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.lucene.document.Document;
import org.apache.tika.exception.TikaException;
import org.apache.tika.metadata.DublinCore;
import org.apache.tika.metadata.HttpHeaders;
import org.apache.tika.metadata.Metadata;
import org.apache.tika.metadata.Property;
import java.io.IOException;
import java.io.InputStream;
import static com.github.rnewson.couchdb.lucene.util.Utils.text;
/*
 * Copyright Robert Newson
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.rnewson.couchdb.lucene;




public final class Tika {

    public static final Tika INSTANCE = new Tika();

    private static final String DC = "_dc.";

    private static final Logger log = LoggerFactory.getLogger(Tika.class);

// Path: src/main/java/com/github/rnewson/couchdb/lucene/util/Utils.java
// public static Field text(final String name, final String value, final boolean store) {
//     return new TextField(name, value, store ? Store.YES : Store.NO);
// }


// Path: src/main/java/com/github/rnewson/couchdb/lucene/Tika.java
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.lucene.document.Document;
import org.apache.tika.exception.TikaException;
import org.apache.tika.metadata.DublinCore;
import org.apache.tika.metadata.HttpHeaders;
import org.apache.tika.metadata.Metadata;
import org.apache.tika.metadata.Property;
import java.io.IOException;
import java.io.InputStream;
import static com.github.rnewson.couchdb.lucene.util.Utils.text;

/*
 * Copyright Robert Newson
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.rnewson.couchdb.lucene;




public final class Tika {

    public static final Tika INSTANCE = new Tika();

    private static final String DC = "_dc.";

    private static final Logger log = LoggerFactory.getLogger(Tika.class);

    private final org.apache.tika.Tika tika = new org.apache.tika.Tika();