net.sf.cantina.search
Class LuceneDocumentSearchResult
java.lang.Object
net.sf.cantina.search.LuceneDocumentSearchResult
- All Implemented Interfaces:
- DocumentSearchResult
- public class LuceneDocumentSearchResult
- extends java.lang.Object
- implements DocumentSearchResult
- Author:
- Stephane JAIS
Field Summary |
(package private) org.apache.lucene.document.Document |
itsLuceneDocument
|
(package private) org.apache.lucene.search.Query |
itsQuery
|
(package private) float |
itsScore
|
Constructor Summary |
LuceneDocumentSearchResult(org.apache.lucene.document.Document luceneDoc,
org.apache.lucene.search.Query query,
float score)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
itsLuceneDocument
org.apache.lucene.document.Document itsLuceneDocument
itsScore
float itsScore
itsQuery
org.apache.lucene.search.Query itsQuery
LuceneDocumentSearchResult
public LuceneDocumentSearchResult(org.apache.lucene.document.Document luceneDoc,
org.apache.lucene.search.Query query,
float score)
getDocumentId
public java.lang.String getDocumentId()
- Specified by:
getDocumentId
in interface DocumentSearchResult
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale
in interface DocumentSearchResult
getScore
public float getScore()
- Specified by:
getScore
in interface DocumentSearchResult
stripOutColumnModifiers
public static java.lang.String stripOutColumnModifiers(java.lang.String query)
Copyright © 2004 Cantina. All Rights Reserved.