Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add _id to resultobj #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luebbert42
Copy link

I came across the problem that I need the documentId _id in the resultobj to do some Javascript hide()/show() stuff. This PR contains my solution to add it always (first steps with facetview & second steps with Elasticsearch, so feel free to reject it :-)

@rufuspollock
Copy link
Contributor

@markmacgillivray can this merge? Also, assume as owner you are still watching this repo :-)

@markmacgillivray
Copy link
Contributor

This one is really possible purely from the ES side. Adding that extra loop in just to add the _id will lead to some additional slowness (particularly if the result set is large) in all cases whilst only being useful in some. So not sure it should be merged (not that facetview has ever been coded for performance...). Still watching the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants