Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.maven.archiva.indexer.search;
 
 import java.util.List;
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
  * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

Search across repositories in lucene indexes.

Author(s):
Joakim Erdfelt
Version:
$Id: CrossRepositorySearch.java 592513 2007-11-06 18:26:04Z joakime $
Todo:
add security to not perform search in repositories you don't have access to.
public interface CrossRepositorySearch
{
    
Search for the specific term across all repositories.

Parameters:
term the term to search for.
limits the limits to apply to the search results.
Returns:
the results.
    public SearchResults searchForTermString principalList<StringselectedReposString termSearchResultLimits limits );
    
    
Search for the specific bytecode across all repositories.

Parameters:
term the term to search for.
limits the limits to apply to the search results.
Returns:
the results.
    public SearchResults searchForBytecodeString principalList<StringselectedReposString termSearchResultLimits limits );

    
Search for the specific checksum string across all repositories.

Parameters:
checksum the checksum string to search for.
limits the limits to apply to the search results.
Returns:
the results.
    public SearchResults searchForChecksumString principalList<StringselectedReposString checksumSearchResultLimits limits );
New to GrepCode? Check out our FAQ X