pdf_search 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/web_server.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 190956cae75ce3b900499a7d1dac12ebe3807078a85610266b25bfbfb4b6f1a1
|
4
|
+
data.tar.gz: c66b5e9ebbc690b8477e9ddd86cf81252b3c4772afebfc47e1bc1d7c8c4e6c2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5508109f2014f2343700ab66c13482d3d5417bc51cbbd3bd1e3a3cd3a6ef108e13722430e9de6078e939ed093cc34048dbf19f5894d6d225fd54c7836adc6cf
|
7
|
+
data.tar.gz: 1b9c8910e4d95144f8c5f28057697883f2d5da8a8099ebe714289e767841c8ec2579f7d8406126db2c5372049a3ffbdf5367afcba85a96b05e5c5c7bd9b396f6
|
data/lib/web_server.rb
CHANGED
@@ -32,7 +32,7 @@ class PdfSearch::WebServer
|
|
32
32
|
basic_auth.authenticate(request, response)
|
33
33
|
end
|
34
34
|
query = request.query["query"]
|
35
|
-
elastic_response = ::PdfSearch::ElasticSearchClient.search q: query
|
35
|
+
elastic_response = ::PdfSearch::ElasticSearchClient.search q: query, size: 200
|
36
36
|
response.body = response_html(elastic_response)
|
37
37
|
end
|
38
38
|
|