Package edu.uga.galileo.voci.model

Examples of edu.uga.galileo.voci.model.SearchManager


    if (query != null) {
      query = StringUtils.undoSpecialCharReplacements(query)
          .toLowerCase();
    }

    SearchManager manager = new SearchManager();
    List<SearchResult> results = null;
    ArrayList<Integer> includeOnly = processSearchPlugins(request);
    try {
      if ((includeOnly != null) && (includeOnly.size() == 0)) {
        results = new ArrayList<SearchResult>();
      } else {
        results = manager.performBasicQuery(query, searchType,
            (new ProjectManager()).getProjectID(command
                .getProject()), activeOnly, allowsZero, true,
            useBlurbFields, includeOnly, username, updateDateStart,
            updateDateEnd);
      }
View Full Code Here


    }

    // perform the query
    String advancedQueryString = StringUtils
        .undoSpecialCharReplacements(advancedQuery.toString());
    SearchManager manager = new SearchManager();
    List<SearchResult> results = null;
    ArrayList<Integer> includeOnly = processSearchPlugins(request);
    try {
      if ((includeOnly != null) && (includeOnly.size() == 0)) {
        results = new ArrayList<SearchResult>();
      } else {
        results = manager.performAdvancedQuery(advancedQueryString,
            searchType, (new ProjectManager()).getProjectID(command
                .getProject()), contentTypeId, activeOnly,
            allowsZero, true, useBlurbFields, includeOnly,
            username, updateDateStart, updateDateEnd);
      }
View Full Code Here

   * @see edu.uga.galileo.voci.model.listeners.CommunityUpdateListener#handleCommunityUpdate(edu.uga.galileo.voci.bo.Community,
   *      int)
   */
  public void handleCommunityUpdate(Community community, int parentId) {
    // parentId is irrelevant for the search servlet
    (new SearchManager()).ingestSearchTerms(community.getCommunityId(),
        community);

  }// end handleCommunityUpdate()
View Full Code Here

   * @see edu.uga.galileo.voci.model.listeners.CollectionUpdateListener#handleCollectionUpdate(edu.uga.galileo.voci.bo.Collection,
   *      int)
   */
  public void handleCollectionUpdate(Collection collection, int parent) {
    // parentId is irrelevant for the search servlet
    (new SearchManager()).ingestSearchTerms(collection.getCollectionId(),
        collection);
  }
View Full Code Here

   * @see edu.uga.galileo.voci.model.listeners.BundleUpdateListener#handleBundleUpdate(edu.uga.galileo.voci.bo.Bundle,
   *      int)
   */
  public void handleBundleUpdate(Bundle bundle, int parent) {
    // parentId is irrelevant for the search servlet
    (new SearchManager()).ingestSearchTerms(bundle.getBundleId(), bundle);
  }
View Full Code Here

   * @see edu.uga.galileo.voci.model.listeners.ItemUpdateListener#handleItemUpdate(edu.uga.galileo.voci.bo.Item,
   *      int)
   */
  public void handleItemUpdate(Item item, int parent) {
    // parentId is irrelevant for the search servlet
    (new SearchManager()).ingestSearchTerms(item.getItemId(), item);
  }
View Full Code Here

  /**
   * @see edu.uga.galileo.voci.model.listeners.CommunityDeletionListener#handleCommunityDeletion(edu.uga.galileo.voci.bo.Community)
   */
  public void handleCommunityDeletion(Community community) {
    (new SearchManager()).deleteFromSearchIndex(community.getProjectId(),
        community.getId());
  }
View Full Code Here

  /**
   * @see edu.uga.galileo.voci.model.listeners.CollectionDeletionListener#handleCollectionDeletion(edu.uga.galileo.voci.bo.Collection)
   */
  public void handleCollectionDeletion(Collection collection) {
    (new SearchManager()).deleteFromSearchIndex(collection.getProjectId(),
        collection.getId());
  }
View Full Code Here

  /**
   * @see edu.uga.galileo.voci.model.listeners.BundleDeletionListener#handleBundleDeletion(edu.uga.galileo.voci.bo.Bundle)
   */
  public void handleBundleDeletion(Bundle bundle) {
    (new SearchManager()).deleteFromSearchIndex(bundle.getProjectId(),
        bundle.getId());
  }
View Full Code Here

  /**
   * @see edu.uga.galileo.voci.model.listeners.ItemDeletionListener#handleItemDeletion(edu.uga.galileo.voci.bo.Item)
   */
  public void handleItemDeletion(Item item) {
    (new SearchManager()).deleteFromSearchIndex(item.getProjectId(), item
        .getId());
  }
View Full Code Here

TOP

Related Classes of edu.uga.galileo.voci.model.SearchManager

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.