Closed sampizelo closed 4 years ago
@cnagda I think you fixed both of these (above), but I just wanted to confirm before closing the issue.
Above is fixed and word in context should appear with the same layout now. For reference kwic text is now passed in to get_meta() as an optional arg, then added to the get_meta php response before parsing. There was probably a better way to do that but eventually all the document results js should probably go in some sort of utils and be a little more split up since it is used on multiple pages.
Ok awesome! Thanks. I'll close the issue now.
[x] some mechanism for viewing documents with keyword that do not appear in truncated form of document (e.g. "transmutation" for an example).
[x] KWIC search looks for pattern without looking for spaces (I think) - e.g. "science" returns a document with "conscience" highlighted.