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

Exclusion from search schema attribute #542

Open
roikle opened this issue Jul 22, 2016 · 1 comment
Open

Exclusion from search schema attribute #542

roikle opened this issue Jul 22, 2016 · 1 comment
Labels
Enhancement Desired improvement to design or implementation that adds value.
Milestone

Comments

@roikle
Copy link

roikle commented Jul 22, 2016

Request: Would it be possible to have a schema attribute which prevents documents (or even specific schema fields) from being indexed for the search results?

Justification: Some content may not need to be indexed. For example, comment schemas may be considered secondary to the main atlas content, and may need to be excluded from the search results. By limiting what content is indexed, searching may produce more helpful results by reducing clutter.

@roikle roikle added the Enhancement Desired improvement to design or implementation that adds value. label Jul 22, 2016
@jpfiset
Copy link
Collaborator

jpfiset commented Aug 9, 2016

Currently, in Nunaliit built on CouchDB, the text search index is built using a CouchDB view. When the view is invoked, only the current document is accessible. This means that an associated schema can not be fetched to impact the decision on what can be indexed.

However, if a document contained information about what should be included/excluded, then the text search index logic could be modified.

An another approach would be to take the text search indexing out of CouchDB and have a Nunaliit service perform it.

@jpfiset jpfiset modified the milestone: 2.2.9 Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Desired improvement to design or implementation that adds value.
Projects
None yet
Development

No branches or pull requests

2 participants