mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
fix: edited docummentation for adding elasticsearch connector and removed reduntant stringToArray call
This commit is contained in:
parent
97e0ea439b
commit
9cc5cdcb2d
1 changed files with 5 additions and 5 deletions
|
|
@ -160,7 +160,7 @@ export default function ElasticsearchConnectorPage() {
|
|||
}
|
||||
|
||||
if (values.search_fields?.trim()) {
|
||||
config.ELASTICSEARCH_FIELDS = stringToArray(values.search_fields);
|
||||
// config.ELASTICSEARCH_FIELDS = stringToArray(values.search_fields);
|
||||
const fields = stringToArray(values.search_fields);
|
||||
config.ELASTICSEARCH_FIELDS = fields;
|
||||
config.ELASTICSEARCH_CONTENT_FIELDS = fields;
|
||||
|
|
@ -669,6 +669,10 @@ export default function ElasticsearchConnectorPage() {
|
|||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Index Selection:</strong> Specify which indices to search using
|
||||
comma-separated patterns (e.g., "logs-*, documents-*")
|
||||
</li>
|
||||
</ol>
|
||||
</AccordionContent>
|
||||
</AccordionItem>
|
||||
|
|
@ -682,10 +686,6 @@ export default function ElasticsearchConnectorPage() {
|
|||
Fine-tune your Elasticsearch connector with these optional settings:
|
||||
</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li>
|
||||
<strong>Index Selection:</strong> Specify which indices to search using
|
||||
comma-separated patterns (e.g., "logs-*, documents-*")
|
||||
</li>
|
||||
<li>
|
||||
<strong>Search Fields:</strong> Limit searches to specific fields (e.g.,
|
||||
"title, content") for better relevance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue