Package cc.twittertools.search.api

Examples of cc.twittertools.search.api.TrecSearchThriftClient.search()


      query.setFeatureVector(temp);
     
     
      // if we're doing feedback
      if(fbDocs > 0 && fbTerms > 0) {
        List<TResult> results = client.search(queryText, query.getQuerytweettime(), fbDocs);
        FeedbackRelevanceModel fb = new FeedbackRelevanceModel();
        fb.setOriginalQuery(query);
        fb.setRes(results);
        fb.build(stopper);
       
View Full Code Here


        }
        queryText = builder.toString().trim();
       
      }
     
      List<TResult> results = client.search(queryText, query.getQuerytweettime(), numResults);
      String runTag = params.getParamValue(RUNTAG_OPTION);
      if(runTag==null)
        runTag = DEFAULT_RUNTAG;

      int i = 1;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.