Package com.sun.xmlsearch.util

Examples of com.sun.xmlsearch.util.Location


 
  void makeQueryHit(Query q, int nColumns, int doc, double penalty) {
    if (q.goodEnough(penalty)) {
      int[] array =
  q.getConceptArrayOfNewHit(penalty,
          new Location(doc, _begin, _end));
      for (int i = 0; i < nColumns; i++)
  array[i] = (_filled & 1 << i) != 0 ? _fillers[i].getConcept() : 0;
    }
  }
View Full Code Here


 
  void makeQueryHit(Query q, int nColumns, int doc, double penalty) {
    if (q.goodEnough(penalty)) {
      int[] array =
  q.getConceptArrayOfNewHit(penalty,
          new Location(doc, _begin, _end));
      for (int i = 0; i < nColumns; i++)
  array[i] = (_filled & 1 << i) != 0 ? _fillers[i].getConcept() : 0;
    }
  }
View Full Code Here

TOP

Related Classes of com.sun.xmlsearch.util.Location

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.