com.liferay.portal.search.lucene
Class LuceneIndexSearcherImpl
java.lang.Object
com.liferay.portal.search.lucene.LuceneIndexSearcherImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.IndexSearcher
public class LuceneIndexSearcherImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.search.IndexSearcher
View Source
- Author:
- Bruno Farache
Method Summary |
protected com.liferay.portal.kernel.search.DocumentImpl |
getDocument(org.apache.lucene.document.Document oldDoc)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
com.liferay.portal.kernel.search.Query query,
com.liferay.portal.kernel.search.Sort[] sorts,
int start,
int end)
|
protected com.liferay.portal.kernel.search.Hits |
subset(org.apache.lucene.search.Hits luceneHits,
int start,
int end)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneIndexSearcherImpl
public LuceneIndexSearcherImpl()
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
com.liferay.portal.kernel.search.Query query,
com.liferay.portal.kernel.search.Sort[] sorts,
int start,
int end)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
search
in interface com.liferay.portal.kernel.search.IndexSearcher
- Throws:
com.liferay.portal.kernel.search.SearchException
getDocument
protected com.liferay.portal.kernel.search.DocumentImpl getDocument(org.apache.lucene.document.Document oldDoc)
subset
protected com.liferay.portal.kernel.search.Hits subset(org.apache.lucene.search.Hits luceneHits,
int start,
int end)
throws java.io.IOException
- Throws:
java.io.IOException