lucivy 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/lucivy.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,6 +64,12 @@ let results = index.search('rust async programming');
|
|
|
64
64
|
|
|
65
65
|
// Options
|
|
66
66
|
results = index.search('rust', { limit: 20, highlights: true, allowedIds: [1, 3] });
|
|
67
|
+
|
|
68
|
+
// Retrieve stored field values with results
|
|
69
|
+
results = index.search('rust', { fields: true });
|
|
70
|
+
for (const r of results) {
|
|
71
|
+
console.log(r.docId, r.fields.title, r.fields.body);
|
|
72
|
+
}
|
|
67
73
|
```
|
|
68
74
|
|
|
69
75
|
#### contains — substring, fuzzy, regex (cross-token)
|
package/lucivy.node
CHANGED
|
Binary file
|