net.sf.cantina.search
Class LuceneDocumentSearchResult

java.lang.Object
  extended bynet.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)
           
 
Method Summary
 java.lang.String getDocumentId()
           
 java.util.Locale getLocale()
           
 float getScore()
           
static java.lang.String stripOutColumnModifiers(java.lang.String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itsLuceneDocument

org.apache.lucene.document.Document itsLuceneDocument

itsScore

float itsScore

itsQuery

org.apache.lucene.search.Query itsQuery
Constructor Detail

LuceneDocumentSearchResult

public LuceneDocumentSearchResult(org.apache.lucene.document.Document luceneDoc,
                                  org.apache.lucene.search.Query query,
                                  float score)
Method Detail

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.