Skip to content

Commit ad6320d

Browse files
authored
Merge pull request #1997 from umago/okp-guide-version
Fix OKP Guide Solr filter by version
2 parents 4908c93 + 4006765 commit ad6320d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/okp_guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ podman run --rm -d -p 8081:8080 registry.redhat.io/offline-knowledge-portal/rhok
7070

7171
> **Note:** The default OKP URL is configured via the `RH_SERVER_OKP` environment variable
7272
> (see Step 2). You can override this by setting a different value for
73-
> `RH_SERVER_OKP`, or by changing the `okp.rhokp_url` field in
73+
> `RH_SERVER_OKP`, or by changing the `okp.rhokp_url` field in
7474
> `lightspeed-stack.yaml`.
7575
---
7676

@@ -137,7 +137,7 @@ If you want to filter the docs to a specific product, you can include a static q
137137
```yaml
138138
okp:
139139
offline: true
140-
chunk_filter_query: "product:*openshift*"
140+
chunk_filter_query: "product:*openshift* AND product_version:4.21"
141141
```
142142

143143
When you launch Lightspeed stack it will augment the Llamastack run.yaml with
@@ -217,7 +217,7 @@ curl -sX POST http://localhost:8080/v1/query \
217217
"type": "and",
218218
"filters": [
219219
{"type": "eq", "key": "product", "value": "openshift_container_platform"},
220-
{"type": "eq", "key": "version", "value": "4.21"}
220+
{"type": "eq", "key": "product_version", "value": "4.21"}
221221
]
222222
}
223223
}

0 commit comments

Comments
 (0)