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

Support mapping filds to QueryHits #9

Open
dantleech opened this issue Sep 16, 2014 · 0 comments
Open

Support mapping filds to QueryHits #9

dantleech opened this issue Sep 16, 2014 · 0 comments
Labels

Comments

@dantleech
Copy link
Contributor

The Document and the QueryHit are two differnet classes. One is about storing the data, the other is, maybe, about the search results.

Currently the document has the methods getTitle, getDescription and getUrl. Which I think would better belong to QueryHit.

But having hard-methods in QueryHit is quite limiting to extensiblility, so they should instead be registered dynamic fields.

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

No branches or pull requests

1 participant