I am trying to implement faceted search for users.
Relevant part of mapping for users can be seen at https://gist.github.com/1357430#file_mapping.json. Each user has some
personal_info, alma_info and many professional details. I want to filter
users based on name, course/branch(alma_info) and professional details.
Professions are nested documents in a user.
I have three use cases for facets on company names of users:
Facet on all past and current(independently) company names of matched
users in the query
Facet on past and current company names matching a string(using
edgeNGram) of matched users
Facet on company names excluding documents matching certain names of
matched users
Questions:
Is it possible to filter on root documents and only get facets for
nested types for the filtered root documents. Query I was trying to
generate for this was https://gist.github.com/1357430#file_query1.curl.
Data does have some professions with companies, but its showing missing for
all.
Is it possible to filter on root documents and only get facets for
nested documents matching some more conditions. Query I was trying to
generate for this was https://gist.github.com/1357430#file_query2.curl
I would appreciate any help I can get. Please let me know if I information
provided is not sufficient.
I am trying to implement faceted search for users.
Relevant part of mapping for users can be seen at elasticsearch nested facets problem · GitHub. Each user has some
personal_info, alma_info and many professional details. I want to filter
users based on name, course/branch(alma_info) and professional details.
Professions are nested documents in a user.
I have three use cases for facets on company names of users:
Facet on all past and current(independently) company names of
matched users in the query
Facet on past and current company names matching a string(using
edgeNGram) of matched users
Facet on company names excluding documents matching certain names
of matched users
Questions:
Is it possible to filter on root documents and only get facets for
nested types for the filtered root documents. Query I was trying to
generate for this was elasticsearch nested facets problem · GitHub.
Data does have some professions with companies, but its showing missing for
all.
Is it possible to filter on root documents and only get facets for
nested documents matching some more conditions. Query I was trying to
generate for this was elasticsearch nested facets problem · GitHub
I would appreciate any help I can get. Please let me know if I information
provided is not sufficient.
I already visited that page earlier. I guess I was constructing the query
wrongly earlier. After making some changes to the query(making it pretty
minimalistic to start with) I am getting the exception,
ArrayIndexOutOfBound. I have replied to the thread and will try to come up
with a recreation.
On Sun, Nov 13, 2011 at 2:11 PM, Shay Banon kimchy@gmail.com wrote:
I am trying to implement faceted search for users.
Relevant part of mapping for users can be seen at elasticsearch nested facets problem · GitHub. Each user has some
personal_info, alma_info and many professional details. I want to filter
users based on name, course/branch(alma_info) and professional details.
Professions are nested documents in a user.
I have three use cases for facets on company names of users:
Facet on all past and current(independently) company names of
matched users in the query
Facet on past and current company names matching a string(using
edgeNGram) of matched users
Facet on company names excluding documents matching certain names
of matched users
Questions:
Is it possible to filter on root documents and only get facets for
nested types for the filtered root documents. Query I was trying to
generate for this was elasticsearch nested facets problem · GitHub.
Data does have some professions with companies, but its showing missing for
all.
Is it possible to filter on root documents and only get facets for
nested documents matching some more conditions. Query I was trying to
generate for this was elasticsearch nested facets problem · GitHub
I would appreciate any help I can get. Please let me know if I
information provided is not sufficient.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.