Package org.apache.lucene.store

Examples of org.apache.lucene.store.DataInput


     * @throws IOException
     */
    protected boolean loadFieldNameFilterConverter(Directory directory, String geoFileName,
            IFieldNameFilterConverter fieldNameFilterConverter) throws IOException {
        try {
            DataInput input = directory.openInput(geoFileName);
            input.readVInt()//read version
            input.readInt();   //throw out tree position
            input.readVInt()//throw out tree size
            input.readVInt()//throw out record length
       
            fieldNameFilterConverter.loadFromInput(input);
       
            return true;
        } catch (FileNotFoundException e) {
View Full Code Here

TOP

Related Classes of org.apache.lucene.store.DataInput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.