Examples of Searcher


Examples of com.jbidwatcher.search.Searcher

    boolean isUpdated = mLogin.updateLogin(getName());

    if(!mLogin.isDefault()) {
      if (isUpdated) forceLogin();

      Searcher s = SearchManager.getInstance().getSearchByName("My Selling Items");
      if(s == null) {
        mSellerSearch = SearchManager.getInstance().buildSearch(System.currentTimeMillis(), "Seller", "My Selling Items", mLogin.getUserId(), getName(), null, 1);
        mSellerSearch.setCategory("selling");
        SearchManager.getInstance().addSearch(mSellerSearch);
      } else {
        s.setSearch(mLogin.getUserId());
      }
    }
  }
View Full Code Here

Examples of com.ourlinc.omni.search.Searcher

    return m_StorageManager.getStorage(name.toLowerCase());
  }

  // 取得搜索器
  public Searcher getSearcher(String name) {
    Searcher p = m_Searchrs.get(name);
    if (null != p)
      return p;

    throw new NotFindException("没能找到名为'" + name + "'的查询器");
  }
View Full Code Here

Examples of com.ourlinc.omni.search.Searcher

   * @param name
   *            查询器名
   * @return 查询器
   */
  synchronized public Searcher newSearcher(String name) {
    Searcher check = m_Searchrs.get(name);
    if (null != check) {
      // throw new TransactionException("已有同名的查询器:" + check);
      if (Misc.DebugEnabled) {
        Misc.getLogger().debug("已有同名的查询器:" + check, new Throwable());
      }
View Full Code Here

Examples of com.ourlinc.omni.search.Searcher

    return m_StorageManager.getStorage(name.toLowerCase());
  }

  // 取得搜索器
  public Searcher getSearcher(String name) {
    Searcher p = m_Searchrs.get(name);
    if (null != p)
      return p;

    throw new NotFindException("没能找到名为'" + name + "'的查询器");
  }
View Full Code Here

Examples of com.ourlinc.omni.search.Searcher

   * @param name
   *            查询器名
   * @return 查询器
   */
  synchronized public Searcher newSearcher(String name) {
    Searcher check = m_Searchrs.get(name);
    if (null != check) {
      // throw new TransactionException("已有同名的查询器:" + check);
      if (Misc.DebugEnabled) {
        Misc.getLogger().debug("已有同名的查询器:" + check, new Throwable());
      }
View Full Code Here

Examples of com.packtpub.java7.concurrency.chapter3.recipe4.task.Searcher

    // Creates the CyclicBarrier object. It has 5 participants and, when
    // they finish, the CyclicBarrier will execute the grouper object
    CyclicBarrier barrier=new CyclicBarrier(PARTICIPANTS,grouper);
   
    // Creates, initializes and starts 5 Searcher objects
    Searcher searchers[]=new Searcher[PARTICIPANTS];
    for (int i=0; i<PARTICIPANTS; i++){
      searchers[i]=new Searcher(i*LINES_PARTICIPANT, (i*LINES_PARTICIPANT)+LINES_PARTICIPANT, mock, results, 5,barrier);
      Thread thread=new Thread(searchers[i]);
      thread.start();
    }
    System.out.printf("Main: The main thread has finished.\n");
  }
View Full Code Here

Examples of com.smoker.imagesearch.model.Searcher

  private ListData    listData;
  private Settings    settings;

  public JImageSearch()
  {
    searcher = new Searcher();
    indexCreator = new IndexCreator(searcher);
    indexLoader = new IndexLoader(searcher);
    displayData = new DisplayData(searcher);
  }
View Full Code Here

Examples of de.komoot.photon.importer.elasticsearch.Searcher

        nominatimUpdaterThread.start();
        return "nominatim update started (more information in console output) ...";
      }
    });

    final Searcher searcher = new Searcher(esNodeClient);
    get(new RequestHandler("api", searcher));
    get(new RequestHandler("api/", searcher));
  }
View Full Code Here

Examples of edu.isi.karma.semantictypes.tfIdf.Searcher

    // check if semantic label already exists
    Document labelDoc = null; // document corresponding to existing semantic label if exists
    if (indexDirectoryExists()) {
      try {
        // check if semantic label already exists in index
        Searcher searcher = new Searcher(indexDirectory,
            Indexer.LABEL_FIELD_NAME);
        try {
          labelDoc = searcher.getDocumentForLabel(label);
        } finally {
          searcher.close();
        }
      } catch (Exception e) {
        // Ignore, the searcher might not work if index is empty.
      }
    }
View Full Code Here

Examples of it.unibz.instasearch.indexing.Searcher

    }
   
    if( indexer == null )
      indexer = new WorkspaceIndexer(); // create default indexer

    searcher = new Searcher(getSearcherConfig());
    indexer.setIndexChangeListener(searcher);
   
    InstaSearchPlugin.addPreferenceChangeListener(indexer);
    InstaSearchPlugin.addPreferenceChangeListener(searcher);
   
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.