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

Implement ability to search specific types in the index, instead of blanket type search #8

Open
aweber1 opened this issue Sep 9, 2016 · 0 comments

Comments

@aweber1
Copy link
Owner

aweber1 commented Sep 9, 2016

Sitecore.ContentSearch.ElasticSearchProvider.LinqToElasticSearchIndex.Execute()

Elasticsearch allows you to assign arbitrary 'types' for the documents you index. Think of these types as (more or less) categories as opposed to types you find in programming languages (i.e. string, int, etc...).

When executing a search against an ES index, you can specify which types to search against. Currently, the provider code just does a blanket search against all types in the index. Ideally, the provider would be able to infer the type(s) to search against based on a mapping or attribute or generic argument, etc.. The indexing functions would need to infer types as well so that documents are stored with the proper type declaration.

There's probably a pretty straightforward way to do this (notice I didn't say "easy"), but not tonight.

Originally created at 2013-07-25 23:38:58+00:00 (UTC) by aweber1 as a(n) major issue.

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

No branches or pull requests

1 participant