Project

General

Profile

« Previous | Next » 

Revision 55639

Latest for solr7 + deletedByInferencePublications method added #4216

View differences:

RequestResponseHandler.java
16 16
        ORGANIZATION("organization"),
17 17
        PERSON("person"),
18 18
        SOFTWARE("software"),
19
        OTHER("other"),
19 20
        NONE("");
20 21

  
21 22
        private final List<String> PUBLICATION_FIELD_QUERIES = Arrays.asList("oaftype exact result", "resulttypeid exact publication");
22 23
        private final List<String> DATASET_FIELD_QUERIES = Arrays.asList("oaftype exact result", "resulttypeid exact dataset");
23 24
        private final List<String> SOFTWARE_FIELD_QUERIES = Arrays.asList("oaftype exact result", "resulttypeid exact software");
25
        private final List<String> OTHER_FIELD_QUERIES = Arrays.asList("oaftype exact result", "resulttypeid exact other");
24 26
        private final List<String> PROJECT_FIELD_QUERIES = Arrays.asList("oaftype exact project");
25 27
        private final List<String> DATASOURCE_FIELD_QUERIES = Arrays.asList("oaftype exact datasource", "(datasourcecompatibilityid <> \"UNKNOWN\")");
26 28
        private final List<String> ORGANIZATION_FIELD_QUERIES = Arrays.asList("oaftype exact organization",
......
54 56
                case SOFTWARE:
55 57
                    return SOFTWARE_PREFIX;
56 58

  
59
                case OTHER:
60
                    return OTHER_PREFIX;
61

  
57 62
                case PROJECT:
58 63
                    return PROJECT_PREFIX;
59 64

  
......
86 91
                case SOFTWARE:
87 92
                    return "software";
88 93

  
94
                case OTHER:
95
                    return "other";
96

  
89 97
                case PROJECT:
90 98
                    return "projects";
91 99

  
......
117 125
                case SOFTWARE:
118 126
                    return SOFTWARE_FIELD_QUERIES;
119 127

  
128
                case OTHER:
129
                    return OTHER_FIELD_QUERIES;
130

  
120 131
                case PROJECT:
121 132
                    return PROJECT_FIELD_QUERIES;
122 133

  
......
140 151
    public final static String PUBLICATION_PREFIX = "(oaftype exact result) and (resulttypeid exact publication)";
141 152
    public final static String DATASET_PREFIX = "(oaftype exact result) and (resulttypeid exact dataset)";
142 153
    public final static String SOFTWARE_PREFIX = "(oaftype exact result) and (resulttypeid exact software)";
154
    public final static String OTHER_PREFIX = "(oaftype exact result) and (resulttypeid exact other)";
143 155
    public final static String PROJECT_PREFIX = "(oaftype exact project)";
144 156
    public final static String DATASOURCE_PREFIX = "(oaftype exact datasource) and (datasourcecompatibilityid <> \"UNKNOWN\")";
145 157
    public final static String ORGANIZATION_PREFIX = "(oaftype exact organization and " +

Also available in: Unified diff