public IteratorSearchResponse flatIteratorSearch( Map<String, String> terms, String repositoryId, Integer from, Integer count, Integer hitLimit, boolean uniqueRGA, SearchType searchType, List<ArtifactInfoFilter> filters ) throws NoSuchRepositoryException { if ( !canHandle( terms ) ) { return IteratorSearchResponse.EMPTY_ITERATOR_SEARCH_RESPONSE; } return m_lucene.searchArtifactClassIterator( terms.get( TERM_CLASSNAME ), repositoryId, from, count, hitLimit, searchType, filters ); }
/** * {@inheritDoc} */ public FlatSearchResponse flatSearch( final Map<String, String> terms, final String repositoryId, final Integer from, final Integer count, final Integer hitLimit ) throws NoSuchRepositoryException { if ( !canHandle( terms ) ) { return new FlatSearchResponse( null, 0, Collections.<ArtifactInfo> emptySet() ); } return m_lucene.searchArtifactClassFlat( terms.get( TERM_CLASSNAME ), repositoryId, from, count, hitLimit ); }
public IteratorSearchResponse flatIteratorSearch(Map<String, String> terms, String repositoryId, Integer from, Integer count, Integer hitLimit, boolean uniqueRGA, SearchType searchType, List<ArtifactInfoFilter> filters) throws NoSuchRepositoryException { if (!canHandle(terms)) { return IteratorSearchResponse.empty(null); } return m_lucene.searchArtifactClassIterator(terms.get(TERM_CLASSNAME), repositoryId, from, count, hitLimit, searchType, filters); }