Class FedoraSearch

    • Constructor Detail

      • FedoraSearch

        public FedoraSearch()
        Default JAX-RS entry point
    • Method Detail

      • doSearch

        @GET
        @Produces({"application/json;qs=1.0","text/plain;charset=utf-8","text/html;charset=utf-8"})
        public javax.ws.rs.core.Response doSearch​(@QueryParam("condition")
                                                  List<String> conditions,
                                                  @QueryParam("fields")
                                                  String fields,
                                                  @DefaultValue("100") @QueryParam("max_results")
                                                  int maxResults,
                                                  @DefaultValue("0") @QueryParam("offset")
                                                  int offset,
                                                  @DefaultValue("asc") @QueryParam("order")
                                                  String order,
                                                  @QueryParam("order_by")
                                                  String orderBy,
                                                  @DefaultValue("false") @QueryParam("include_total_result_count")
                                                  boolean includeTotalResultCount)
        Perform simple search on the repository
        Parameters:
        conditions - The conditions constraining the query
        fields - The fields to return in results
        maxResults - The max number of results to return
        offset - The zero-based offset of the first result to be returned
        order - The order: ie "asc" or "desc"
        orderBy - The field by which to order the results
        includeTotalResultCount - A flag for including total result count (false by default)
        Returns:
        A response object with the search results