Package org.terrier.querying

Examples of org.terrier.querying.SearchRequest


      if (queryingManager == null)
      {
        return;
      }
      jTextField.setText(q.toString())
      SearchRequest srq = queryingManager.newSearchRequest();
      srq.setQuery(q);
      srq.addMatchingModel(mModel, wModel);
      srq.setControl("c", "1.0d");
      queryingManager.runPreProcessing(srq);
      queryingManager.runMatching(srq);
      queryingManager.runPostProcessing(srq);
      queryingManager.runPostFilters(srq);
      renderResults(srq.getResultSet());
    } catch (Exception e) {
      logger.error("An exception when running the query: #"+query +"# :",e);
     
    }
View Full Code Here

TOP

Related Classes of org.terrier.querying.SearchRequest

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.