solr_cursorstream 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/lib/solr/cursorstream/version.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: 2e3d3cf7d36d2e1feb41469bd02fef47e283a628b405372b1f7ffff6f0f93ab5
|
4
|
+
data.tar.gz: 7058429a718019ee62d773abf7aa0142fab23c2473178929b89734125d188161
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a215e2969745c1bd62011e30f8fa21940fb60998553372127bd0f8b17c6371a8b7e83b31805df3ada851dd3185bcbb53b58813301b26aad9658bf2a289bdc4a
|
7
|
+
data.tar.gz: fff3c6c476750aca864700aab3e3c7e6569234d3f6d74f0bbed780f8ef7c06de6df57ff26c7001e6ddf7de705ce181a71280f1c5f375d4f90c9bbc07a6005502
|
data/README.md
CHANGED
@@ -6,13 +6,16 @@ exposing the stream as a normal ruby enumerator.
|
|
6
6
|
|
7
7
|
Note that this is different from true streaming of results via, e.g.,
|
8
8
|
the [default `/export` handler](https://solr.apache.org/guide/8_6/exporting-result-sets.html).
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
*
|
9
|
+
|
10
|
+
Those queries can involve more complex processing, but don't fit all use
|
11
|
+
cases:
|
12
|
+
* `/export` can't use relevancy ranking as a sort; `Solr::CursorStream` can
|
13
|
+
* `/export` requires all fields have to be `docValues`,
|
14
|
+
`Solr::CursorStream` doesn't.
|
13
15
|
|
14
16
|
Cursor-based streaming allows, with some restrictions,
|
15
|
-
downloading large sets of data without the "deep paging"
|
17
|
+
downloading large sets of data without the "deep paging"
|
18
|
+
out-of-memory problems
|
16
19
|
associated with just using the `start` and `rows` parameters.
|
17
20
|
|
18
21
|
The only significant restrictions is that _the sort specification MUST
|