EnterpriseSearch

From LogicalDOC Community Wiki

Jump to: navigation, search

Contents

Methods related to repository search.

HitImpl[] findByParameters(String sid, Long templateId, Criterion[] criteria, int maxResults)

This operation allows a user to retrieve all documents that matches the list of criteria and that belong to the template with the given identifier. It is possible to define the maximum number of results from this query.

Parameters

  • sid - The session identifier.
  • templateId - The template identifier.
  • criteria - The query criterion list
  • maxResults - The maximum number of results.

Returns

  • The search hits.

Throws

  • Exception - If there is any error during the search operation.