ingest flow works multi-embedding

This commit is contained in:
phact 2025-10-10 22:14:51 -04:00
parent 59f45a2db7
commit 12ae6d3fb1
3 changed files with 94 additions and 71 deletions

File diff suppressed because one or more lines are too long

View file

@ -21,10 +21,13 @@ openrag_user_role:
allowed_actions:
- crud
- create_index
- indices:admin/mappings/get
- indices:admin/mappings/put
- indices:admin/exists
- indices:admin/get
dls: >
{"bool":{"should":[
{"term":{"owner":"${user.name}"}},
{"term":{"allowed_users":"${user.name}"}},
{"bool":{"must_not":{"exists":{"field":"owner"}}}}
],"minimum_should_match":1}}

View file

@ -268,7 +268,7 @@ class SearchService:
"document_types": {"terms": {"field": "mimetype", "size": 10}},
"owners": {"terms": {"field": "owner_name.keyword", "size": 10}},
"connector_types": {"terms": {"field": "connector_type", "size": 10}},
"embedding_models": {"terms": {"field": "embedding_model", "size": 10}},
"embedding_models": {"terms": {"field": "embedding_model.keyword", "size": 10}},
},
"_source": [
"filename",