Examples of reindex()


Examples of com.liferay.portal.kernel.search.Indexer.reindex()

        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Guestbook.class);

    indexer.reindex(guestbook);

    return guestbook;
  }

  public Guestbook deleteGuestbook(long guestbookId,
View Full Code Here

Examples of com.liferay.portal.kernel.search.Indexer.reindex()

        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Entry.class);

    indexer.reindex(entry);
   
    return entry;
  }
 
  public Entry updateEntry(long userId, long guestbookId, long entryId,
View Full Code Here

Examples of com.liferay.portal.kernel.search.Indexer.reindex()

        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Entry.class);

    indexer.reindex(entry);

    return entry;
  }
 
  protected void validate (String name, String email, String entry) throws PortalException {
View Full Code Here

Examples of com.liferay.util.lucene.Indexer.reIndex()

        if (portlet.isActive() && className != null) {
          _log.debug("Re-indexing with " + className + " started");

          Indexer indexer = (Indexer)InstancePool.get(className);

          indexer.reIndex(indexIds);

          _log.debug("Re-indexing with " + className + " completed");
        }
      }
    }
View Full Code Here

Examples of com.liferay.util.lucene.Indexer.reIndex()

    if (Validator.isNotNull(portlet.getIndexerClass())) {
      Indexer indexer =
        (Indexer)InstancePool.get(portlet.getIndexerClass());

      indexer.reIndex(new String[] {companyId});
    }

    // Session messages

    SessionMessages.add(req, "portlet_index_updated");
View Full Code Here

Examples of org.apache.pig.impl.plan.RequiredFields.reIndex()

                        rf = requiredOutputInfo.requiredFieldsList.get(i);
                    } catch (Exception e) {
                    }
                    if (rf!=null)
                    {
                        rf.reIndex(0);
                        requiredFields.merge(rf);
                    } else {
                        // need all fields
                        List<Pair<Integer, Integer>> l = new ArrayList<Pair<Integer, Integer>>();
                        for (int j=0;j<rlo.getSchema().size();j++)
View Full Code Here

Examples of org.appfuse.service.UserManager.reindex()

    @Test
    public void testSearch() throws Exception {
        // regenerate search index
        UserManager userManager = (UserManager) applicationContext.getBean("userManager");
        userManager.reindex();

        action.setQ("admin");
        assertEquals("success", action.list());
        assertNotNull(action.getUsers());
        assertTrue(action.getUsers().size() >= 1);
View Full Code Here

Examples of org.appfuse.service.UserManager.reindex()

    @Test
    public void testSearch() {
        // regenerate search index
        UserManager userManager = (UserManager) applicationContext.getBean("userManager");
        userManager.reindex();

        doc = tester.renderPage("admin/userList");

        Element form = doc.getElementById("searchForm");
        assertNotNull(form);
View Full Code Here

Examples of org.appfuse.service.UserManager.reindex()

    @Test
    public void testSearch() throws Exception {
        // reindex before searching
        UserManager userManager = (UserManager) applicationContext.getBean("userManager");
        userManager.reindex();

        ModelAndView mav = c.handleRequest("admin");
        Map m = mav.getModel();
        List results = (List) m.get(Constants.USER_LIST);
        assertNotNull(results);
View Full Code Here

Examples of org.hsqldb.persist.PersistentStore.reindex()

        table.setBestRowIdentifiers();

        indexes[position] = newIndex;

        store.reindex(session, newIndex);
    }

    /**
     * Because of the way indexes and column data are held in memory and on
     * disk, it is necessary to recreate the table when an index is added to a
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.