Package com.senseidb.search.req

Examples of com.senseidb.search.req.SenseiRequest


  public JSONObject query(JSONObject request) {
    try {
      long time = System.currentTimeMillis();
      int numHits = 0, totalDocs = 0;
      try {
        SenseiRequest senseiRequest = RequestConverter2.fromJSON(request, facetInfo);
        SenseiResult senseiResult = browse(senseiRequest);
        JSONObject jsonResult = DefaultSenseiJSONServlet.buildJSONResult(senseiRequest, senseiResult);
        if (jsonResult != null) {
          numHits = jsonResult.optInt(PARAM_RESULT_NUMHITS);
          totalDocs = jsonResult.optInt(PARAM_RESULT_TOTALDOCS);
View Full Code Here

TOP

Related Classes of com.senseidb.search.req.SenseiRequest

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.