| <?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. |
| |
| --> |
| <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| |
| <configuration> |
| |
| |
| <property> |
| <name>lens.driver.es.term.fetch.size</name> |
| <description>Fetch (buffer) size for document look up queries</description> |
| <value>10000</value> |
| </property> |
| <property> |
| <name>lens.driver.es.query.timeout.millis</name> |
| <description>Query timeout</description> |
| <value>10000</value> |
| </property> |
| <property> |
| <name>lens.query.timeout.millis</name> |
| <value>60000</value> |
| <description>The runtime(millis) of the query after which query will be timedout and cancelled. Default is 60 |
| seconds for es queries. |
| </description> |
| </property> |
| <property> |
| <name>lens.driver.es.max.row.size</name> |
| <description>max rows for es document look up queries, non existent or -1 refers no limit</description> |
| <value>-1</value> |
| </property> |
| <property> |
| <name>lens.driver.es.aggr.bucket.size</name> |
| <description>Max cardinality of group by (higher value means higher resource usage at server end)</description> |
| <value>6</value> |
| </property> |
| <property> |
| <name>lens.driver.es.jest.servers</name> |
| <description>List of http servers, will be used on a round robin basis</description> |
| <value>http://localhost:9200,http://localhost:4200</value> |
| </property> |
| <property> |
| <name>lens.driver.es.jest.max.conn</name> |
| <description>max connections</description> |
| <value>20</value> |
| </property> |
| <property> |
| <name>lens.driver.es.client.class</name> |
| <description>Choice of client class, default is JestClientImpl</description> |
| <value>org.apache.lens.driver.es.client.jest.JestClientImpl</value> |
| </property> |
| </configuration> |