Package com.esri.gpt.catalog.search

Examples of com.esri.gpt.catalog.search.GetRecordsGenerator


    if (LOG.isLoggable(Level.FINER)) {
      LOG.finer("Starting SEARCH IN thread id= " + this.getId() + ", rid="
          + this.getRID());
    }
    if (this.rid.equalsIgnoreCase("local")) {
      GetRecordsGenerator grg = new GetRecordsGenerator(rc);
      if (engine.getHitsOnly()) {
        grg.setResultType("HITS");
      }
      String cswRequest = grg.generateCswRequest(query);
      SearchEngineCSW csw = (SearchEngineCSW) engine;
      if (this.isTimeUp()) {
        throw new Exception("This threads time is up");
      }
      csw.doSearch(cswRequest);
View Full Code Here


    if ((rid.length() == 0) || rid.equalsIgnoreCase("local")) {

      // generate the CSW request string
      String cswRequest = "";
      try {
        GetRecordsGenerator grg = new GetRecordsGenerator(context);
        cswRequest = grg.generateCswRequest(query);
      } catch (Exception e) {
        throw new SearchException(e);
      }

      // execute the query
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.search.GetRecordsGenerator

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.