Examples of search()


Examples of com.google.api.ads.adwords.axis.v201402.video.VideoServiceInterface.search()

    selector.setSearchType(VideoSearchSelectorSearchType.VIDEO);
    selector.setQuery(query);
    selector.setPaging(new Paging(0, PAGE_SIZE));

    // Run the query.
    VideoSearchPage page = videoService.search(selector);

    // Display videos.
    if (page.getTotalNumEntries() > 0) {
      for (YouTubeVideo video : page.getEntries()) {
        System.out.printf("YouTube video id %s with title '%s' found.%n",

Examples of com.google.api.ads.adwords.axis.v201406.video.VideoServiceInterface.search()

    selector.setSearchType(VideoSearchSelectorSearchType.VIDEO);
    selector.setQuery(query);
    selector.setPaging(new Paging(0, PAGE_SIZE));

    // Run the query.
    VideoSearchPage page = videoService.search(selector);

    // Display videos.
    if (page.getTotalNumEntries() > 0) {
      for (YouTubeVideo video : page.getEntries()) {
        System.out.printf("YouTube video id %s with title '%s' found.%n",

Examples of com.google.appengine.api.search.Index.search()

                    .addSortExpression(SortExpression.newBuilder()
                        .setExpression("published")
                        .setDefaultValueDate(new Date())
                        .setDirection(SortDirection.DESCENDING)))
                    .build()).build(qstr);
        Results<ScoredDocument> results = index.search(query);

        // 対象のアクティビティを取得
        List<ActivityModel> activityList = new ArrayList<ActivityModel>();
        for (ScoredDocument document : results) {
            String activityId = document.getId();

Examples of com.google.code.bing.search.client.BingSearchClient.search()

            {
                BingSearchServiceClientFactory factory = BingSearchServiceClientFactory.newInstance();
        BingSearchClient client = factory.createBingSearchClient();
        //SearchResponse response = client.search(createSearchRequest(client, line.getOptionValue(APPLICATION_KEY_OPTION), line.getOptionValue(QUERY_OPTION)));
                SearchRequest sr = createSearchRequest(client, "4F2CCC4044C7CC88B0BAB03636FD8625FADE6F5A", QUERY_OPTION);
                response = client.search(sr);
        //printResponse(response);
            }
            catch(Exception e)
            {
                System.out.println(e.getMessage());

Examples of com.google.code.ftspc.websearch.Lucene.SearchFunctions.search()

        TemplateMaster.initialize("SearchMain.html");

        searchPhrase = request.getParameter("searchPhrase");
        if (searchPhrase != null) {
            TemplateMaster.context.put("firmTypesList",
                    searchFunctions.search(searchPhrase));
        }
        TemplateMaster.proceedSearchPage(out);

    }
}

Examples of com.google.collide.client.util.collections.SkipListStringBag.search()

    if (tagAttributes == null) {
      return result;
    }

    for (String attribute : tagAttributes.search(incomplete)) {
      if (!attribute.startsWith(incomplete)) {
        break;
      }
      if (alreadyPresentAttributes.contains(attribute)) {
        continue;

Examples of com.google.enterprise.connector.notes.client.NotesDatabase.search()

      String searchString = templateDoc.getItemValueString(
          NCCONST.TITM_SEARCHSTRING);
      LOGGER.logp(Level.FINE, CLASS_NAME, METHOD,
          "Search string is: " + searchString);

      NotesDocumentCollection dc = srcdb.search(searchString, lastUpdated, 0);
      LOGGER.logp(Level.FINE, CLASS_NAME, METHOD,
          srcdb.getFilePath() + " Number of documents to be processed: "
          + dc.getCount());
      NotesDocument curDoc = dc.getFirstDocument();
      while (null != curDoc) {

Examples of com.google.wave.api.OperationQueue.search()

  /**
   * Performs search using Data API.
   */
  protected SearchResult performSearch(SearchRequest searchRequest, ParticipantId user) {
    OperationQueue opQueue = new OperationQueue();
    opQueue.search(searchRequest.getQuery(), searchRequest.getIndex(),
        searchRequest.getNumResults());
    OperationContextImpl context =
        new OperationContextImpl(waveletProvider,
            converterManager.getEventDataConverter(ProtocolVersion.DEFAULT), conversationUtil);
    LOG.fine(

Examples of com.icegreen.greenmail.store.MailFolder.search()

        // Parse the search term from the request
        SearchTerm searchTerm = parser.searchTerm(request);
        parser.endLine(request);

        MailFolder folder = session.getSelected();
        long[] uids = folder.search(searchTerm);
        StringBuffer idList = new StringBuffer();
        for (int i = 0; i < uids.length; i++) {
            if (i > 0) {
                idList.append(SP);
            }

Examples of com.impetus.kundera.index.IndexManager.search()

    List getAssociatedEntitiesFromIndex(Class owningClazz, Object entityId, Class<?> childClass, Client childClient)
    {
        List associatedEntities;
        IndexManager indexManager = childClient.getIndexManager();

        Map<String, Object> results = indexManager != null ? indexManager.search(owningClazz, childClass, entityId)
                : new HashMap<String, Object>();
        Set rsSet = results != null ? new HashSet(results.values()) : new HashSet();

        if (childClass.equals(owningClazz))
        {
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.