| java.lang.Object org.compass.core.lucene.util.LuceneUtils
LuceneUtils | abstract public class LuceneUtils (Code) | | author: kimchy |
Method Summary | |
public static Analyzer | addAllProperty(InternalResource resource, Analyzer analyzer, ResourceMapping resourceMapping, LuceneSearchEngine searchEngine) | public static void | addExtendedProeprty(Resource resource, ResourceMapping resourceMapping, LuceneSearchEngineFactory searchEngineFactory) | public static void | applyBoostIfNeeded(InternalResource resource, SearchEngineFactory searchEngineFactory) | public static Query | buildResourceLoadQuery(ResourceKey resourceKey) | public static void | clearLocks(Lock[] locks) | public static void | createResource(IndexWriter indexWriter, Resource resource, Analyzer analyzer) | public static boolean | deleteDir(File dir) | public static List<String> | findPropertyValues(IndexReader indexReader, String propertyName) | public static Field.Index | getFieldIndex(Property.Index index) | public static Field.Store | getFieldStore(Property.Store store) | public static Field.TermVector | getFieldTermVector(Property.TermVector termVector) | public static Resource[] | hitsToResourceArray(TermDocs termDocs, IndexReader indexReader, LuceneSearchEngine searchEngine) | public static Resource[] | hitsToResourceArray(Hits hits, LuceneSearchEngine searchEngine) |
buildResourceLoadQuery | public static Query buildResourceLoadQuery(ResourceKey resourceKey)(Code) | | |
clearLocks | public static void clearLocks(Lock[] locks)(Code) | | |
deleteDir | public static boolean deleteDir(File dir)(Code) | | |
|
|