ch.ethz.mxquery.datamodel.adm
Class Match
java.lang.Object
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)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Match
public Match(StringMatch[] inc)
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