| <?xml version="1.0" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- Example enums configuration file, |
| |
| --> |
| <enumsConfig> |
| <!-- note: you cannot change the order/existing values in enum without reindexing. |
| but you can always add new values to the end. --> |
| <enum name="severity"> |
| <value>Not Available</value> |
| <value>Low</value> |
| <value>Medium</value> |
| <value>High</value> |
| <!-- we define a bunch of "filler" enum values to ensure "Critical" gets a value |
| of "11" so we can sanity check that sorting and range queries don't use lexical ordering |
| Low(1) < High(3) < Critical(11) |
| --> |
| <value>x4</value> |
| <value>x5</value> |
| <value>x6</value> |
| <value>x7</value> |
| <value>x8</value> |
| <value>x9</value> |
| <value>x10</value> |
| <value>Critical</value> |
| <!-- More "filler" enum values to exceed SolrQueryParser.TERMS_QUERY_THRESHOLD, to generate set queries --> |
| <value>x12</value> |
| <value>x13</value> |
| <value>x14</value> |
| <value>x15</value> |
| <value>x16</value> |
| <value>x17</value> |
| <value>x18</value> |
| </enum> |
| </enumsConfig> |
| |