The text preview when clicking on the additional information icon does not load
Device Information:
- OS: Unraid
- Deployment:
[Docker] - Browser : Tried chrome & opera
- SIST2 Version: 3.4.1 for own machine, 3.4.0 for demo
- Elasticsearch Version: 7.17.9
- Clicking on the small (i) icon
Expected behavior Thought it would have shown the context of the search term. Used to be there is a NLP? model to analyze the text
Actual Behavior A blue loading bar is shown
Screenshots
+1 I have the same problem on versions 3.3.6 and 3.4.0. On version 3.3.4 everything is ok
The issue may be around here to include the value in the query: https://github.com/simon987/sist2/blame/2436e52a62bc02c20dfafdef5f4b674ddbe49574/sist2-vue/src/Sist2Api.js#L554C10-L554C10
The error pops up because of this e._source not having an index value. So _getIndexRoot cannot find a null in this.Sist2Info.indices. (This line here)
If there is already a function that converts the first half of the documentID, e._id back into the index id, then you can pass something like getIndexFromDocID(e._id) into _getIndexRoot, otherwise, the query linked to above may need to also retrieve the index value.