| java.lang.Object com.liferay.portal.lucene.LuceneUtil
LuceneUtil | public class LuceneUtil (Code) | | View Source
author: Brian Wing Shun Chan author: Harry Mark |
Method Summary | |
public void | _delete(long companyId) | public static void | acquireLock(long companyId) | public static void | addDate(Document doc, String field, Date value) | public static void | addExactTerm(BooleanQuery booleanQuery, String field, long value) | public static void | addExactTerm(BooleanQuery booleanQuery, String field, String text) | public static void | addKeyword(Document doc, String field, double value) | public static void | addKeyword(Document doc, String field, long value) | public static void | addKeyword(Document doc, String field, String value) | public static void | addKeyword(Document doc, String field, String[] values) | public static void | addModifiedDate(Document doc) | public static void | addRequiredTerm(BooleanQuery booleanQuery, String field, long value) | public static void | addRequiredTerm(BooleanQuery booleanQuery, String field, String text) | public static void | addTerm(BooleanQuery booleanQuery, String field, long value) | public static void | addTerm(BooleanQuery booleanQuery, String field, String text) | public static void | addText(Document doc, String field, long value) | public static void | addText(Document doc, String field, String value) | public static void | checkLuceneDir(long companyId) | public static void | closeSearcher(Searcher searcher) | public static Hits | closeSearcher(Searcher searcher, String keywords, Exception e) | public static void | delete(long companyId) | public static void | deleteDocuments(long companyId, Term term) | public static Analyzer | getAnalyzer() | public static Directory | getLuceneDir(long companyId) | public static IndexReader | getReader(long companyId) | public static IndexSearcher | getSearcher(long companyId) | public static IndexWriter | getWriter(long companyId) | public static IndexWriter | getWriter(long companyId, boolean create) | public static void | releaseLock(long companyId) | public static void | write(long companyId) | public static void | write(IndexWriter writer) |
INDEX_READ_ONLY | public static boolean INDEX_READ_ONLY(Code) | | |
TERM_END_PATTERN | final public static Pattern TERM_END_PATTERN(Code) | | |
_delete | public void _delete(long companyId)(Code) | | |
acquireLock | public static void acquireLock(long companyId)(Code) | | |
addExactTerm | public static void addExactTerm(BooleanQuery booleanQuery, String field, long value) throws ParseException(Code) | | |
addExactTerm | public static void addExactTerm(BooleanQuery booleanQuery, String field, String text) throws ParseException(Code) | | |
addKeyword | public static void addKeyword(Document doc, String field, double value)(Code) | | |
addKeyword | public static void addKeyword(Document doc, String field, long value)(Code) | | |
addKeyword | public static void addKeyword(Document doc, String field, String[] values)(Code) | | |
addModifiedDate | public static void addModifiedDate(Document doc)(Code) | | |
addRequiredTerm | public static void addRequiredTerm(BooleanQuery booleanQuery, String field, long value)(Code) | | |
addRequiredTerm | public static void addRequiredTerm(BooleanQuery booleanQuery, String field, String text)(Code) | | |
addTerm | public static void addTerm(BooleanQuery booleanQuery, String field, long value) throws ParseException(Code) | | |
addTerm | public static void addTerm(BooleanQuery booleanQuery, String field, String text) throws ParseException(Code) | | |
addText | public static void addText(Document doc, String field, long value)(Code) | | |
checkLuceneDir | public static void checkLuceneDir(long companyId)(Code) | | |
closeSearcher | public static void closeSearcher(Searcher searcher)(Code) | | |
delete | public static void delete(long companyId)(Code) | | |
deleteDocuments | public static void deleteDocuments(long companyId, Term term) throws IOException(Code) | | |
getAnalyzer | public static Analyzer getAnalyzer()(Code) | | |
getLuceneDir | public static Directory getLuceneDir(long companyId)(Code) | | |
getReader | public static IndexReader getReader(long companyId) throws IOException(Code) | | |
getSearcher | public static IndexSearcher getSearcher(long companyId) throws IOException(Code) | | |
getWriter | public static IndexWriter getWriter(long companyId) throws IOException(Code) | | |
getWriter | public static IndexWriter getWriter(long companyId, boolean create) throws IOException(Code) | | |
releaseLock | public static void releaseLock(long companyId)(Code) | | |
|
|