Package com.dotcms.repackage.org.apache.lucene.search

Examples of com.dotcms.repackage.org.apache.lucene.search.IndexSearcher


    public static IndexSearcher getSearcher ( String companyId ) throws IOException {

        Directory directory = FSDirectory.open( new File( getLuceneDir( companyId ) ) );
        DirectoryReader ireader = DirectoryReader.open( directory );

        return new IndexSearcher( ireader );
    }
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.org.apache.lucene.search.IndexSearcher

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.