source: SRUServer/tags/SRUServer-1.8.0/src/main/java/eu/clarin/sru/server/SRUResultCountPrecision.java @ 6954

Last change on this file since 6954 was 6954, checked in by Oliver Schonefeld, 8 years ago
  • tag version 1.8.0
  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1/**
2 * This software is copyright (c) 2011-2016 by
3 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
4 * This is free software. You can redistribute it
5 * and/or modify it under the terms described in
6 * the GNU General Public License v3 of which you
7 * should have received a copy. Otherwise you can download
8 * it from
9 *
10 *   http://www.gnu.org/licenses/gpl-3.0.txt
11 *
12 * @copyright Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
13 *
14 * @license http://www.gnu.org/licenses/gpl-3.0.txt
15 *  GNU General Public License v3
16 */
17package eu.clarin.sru.server;
18
19/**
20 * (SRU 2.0) Indicate the accuracy of the result count reported by total
21 * number of records that matched the query.
22 */
23public enum SRUResultCountPrecision {
24    /**
25     * The server guarantees that the reported number of records is accurate.
26     */
27    EXACT,
28    /**
29     * The server has no idea what the result count is, and does not want to
30     * venture an estimate.
31     */
32    UNKNOWN,
33    /**
34     * The server does not know the result set count, but offers an estimate.
35     */
36    ESTIMATE,
37    /**
38     * The value supplied is an estimate of the maximum possible count that the
39     * result set will attain.
40     */
41    MAXIMUM,
42    /**
43     * The server does not know the result count but guarantees that it is at
44     * least this large.
45     */
46    MINIMUM,
47    /**
48     * The value supplied is an estimate of the count at the time the response
49     * was sent, however the result set may continue to grow.
50     */
51    CURRENT
52} // enum SRUResultCountPrecision
Note: See TracBrowser for help on using the repository browser.