MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.datamodel.adm
Class Match

java.lang.Object
  extended by ch.ethz.mxquery.datamodel.adm.Match

public class Match
extends java.lang.Object

Match: Representation of Match in Fulltext Data Model Roughly speaking: A conjunction of StringMatches (for now just includes, later also excludes)


Constructor Summary
Match(StringMatch[] inc)
           
 
Method Summary
 StringMatch[] getIncludes()
           
 int getMaxIncludeParagraph()
           
 int getMaxIncludePosition()
           
 int getMaxIncludeSentence()
           
 int getMinIncludeParagraph()
           
 int getMinIncludePosition()
           
 int getMinIncludeSentence()
           
 MXQueryDouble getScore()
          Compute the score as the minimum score of the StringMatches
 void sortStringMatches()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Match

public Match(StringMatch[] inc)
Method Detail

getIncludes

public StringMatch[] getIncludes()

sortStringMatches

public void sortStringMatches()
                       throws MXQueryException
Throws:
MXQueryException

getMinIncludePosition

public int getMinIncludePosition()

getMaxIncludePosition

public int getMaxIncludePosition()

getMinIncludeSentence

public int getMinIncludeSentence()

getMaxIncludeSentence

public int getMaxIncludeSentence()

getMinIncludeParagraph

public int getMinIncludeParagraph()

getMaxIncludeParagraph

public int getMaxIncludeParagraph()

getScore

public MXQueryDouble getScore()
Compute the score as the minimum score of the StringMatches

Returns:
The score of this Match

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich