Johan Schuijt

Results 27 comments of Johan Schuijt

I've now added back the concatenated string logic and made `rejectUnauthorized` configurable through environment variable.

> What do you think about building an ui image additionally to match the api image tag? Mhhh, yeah that could also work, i'll try that.

@rcsmit We're trying to find a way to get the original documents from the "bijlage" merged pdf archive dumps based on the "inventarislijst" included in the FOIA request. That would...

We're trading index size versus highlighting speed here it seems: `Term vectors. If term_vector information is provided by setting term_vector to with_positions_offsets in the mapping, the unified highlighter automatically uses...

Seems like this is caused by `Page` not extending `Thing` and the main query including `filter:schemata=Thing`: https://github.com/alephdata/aleph/blob/5663e30d9138c2ff3137caf40a9afbdca896223d/ui/src/queries.js#L16 When i change this query to `/entities?filter:schemata=Thing,Page&highlight=true&limit=30&q=test` it returns `Thing` + `Page` entities...

Ah, i was mistaken, the `Document` entities that are returned have the search string in their title, as expected. So changing the query from `/entities?filter:schemata=Thing&highlight=true&limit=30&q=test` to `/entities?filter:schemata=Thing,Page&exclude:schemata=Pages&highlight=true&limit=30&q=test` would return pages...

> Knowing which page the hit is on is not relevant in this context, in my opinion. You just want to see if this document is relevant or not. If...

Hmm, after looking at this more closely, i think we're actually discussing 2 separate things here. 1. The search highlights are currently not working for `Pages` entities, which is an...

The search matches on a `text` field that is [excluded from search results by default](https://github.com/alephdata/aleph/blob/bf63ad80b7a7f2b593f9ebfab610645d87f8ad80/aleph/index/indexes.py#L86). Also, this text field is not part of the `properties.*` field that is used in...

Should be fixed with https://github.com/alephdata/aleph/pull/2416