I have seen several requests for the ability to alias types as opposed to
only aliasing the indexes. I too would love to see this feature. Is this a
feature that is supported and I somehow missed it? Is it in the plans for a
future version of elasticsearch?
There is nothing in the pipeline for this. Can you elaborate why you want
this a bit more. I am trying to understand the need for it more.
thanks,
simon
On Monday, May 20, 2013 5:45:23 PM UTC+2, Benjamin Sanders wrote:
I have seen several requests for the ability to alias types as opposed to
only aliasing the indexes. I too would love to see this feature. Is this a
feature that is supported and I somehow missed it? Is it in the plans for a
future version of elasticsearch?
The need is pretty similar to the need for aliases on indexes. I am
building an API for looking up and searching products by company and
category. I am using the company name as the index name, and the category
name as the type name. This makes some sense as most of the products in any
given category have very similar types of data. What I need is a way to
have subcategories pre-defined as a subset of a given type, and/or cross
category searching via a supercategory name, but always within a given
company (index).
Also, how large of a task do you think it would be to add this
functionality? I am familiar with Java and not averse to helping out with
the project. I assume I should submit some bug-fixes first
to acquaint myself with the codebase, but it is conceivable that I might
contribute this type of functionality if it would be welcomed.
Ben
On Monday, May 20, 2013 3:22:21 PM UTC-5, simonw wrote:
There is nothing in the pipeline for this. Can you elaborate why you want
this a bit more. I am trying to understand the need for it more.
thanks,
simon
On Monday, May 20, 2013 5:45:23 PM UTC+2, Benjamin Sanders wrote:
I have seen several requests for the ability to alias types as opposed to
only aliasing the indexes. I too would love to see this feature. Is this a
feature that is supported and I somehow missed it? Is it in the plans for a
future version of elasticsearch?
Just a thought: Add a category field to each document and add one or more
categories to a query along with the subtypes.
On Monday, May 20, 2013 5:40:41 PM UTC-4, Benjamin Sanders wrote:
Hi Simon,
The need is pretty similar to the need for aliases on indexes. I am
building an API for looking up and searching products by company and
category. I am using the company name as the index name, and the category
name as the type name. This makes some sense as most of the products in any
given category have very similar types of data. What I need is a way to
have subcategories pre-defined as a subset of a given type, and/or cross
category searching via a supercategory name, but always within a given
company (index).
Also, how large of a task do you think it would be to add this
functionality? I am familiar with Java and not averse to helping out with
the project. I assume I should submit some bug-fixes first
to acquaint myself with the codebase, but it is conceivable that I might
contribute this type of functionality if it would be welcomed.
Ben
On Monday, May 20, 2013 3:22:21 PM UTC-5, simonw wrote:
There is nothing in the pipeline for this. Can you elaborate why you want
this a bit more. I am trying to understand the need for it more.
thanks,
simon
On Monday, May 20, 2013 5:45:23 PM UTC+2, Benjamin Sanders wrote:
I have seen several requests for the ability to alias types as opposed
to only aliasing the indexes. I too would love to see this feature. Is this
a feature that is supported and I somehow missed it? Is it in the plans for
a future version of elasticsearch?
While I agree with the category Idea I think the main problem here is not
implementing the functionality but rather testing it throughout the
application. Something like this spreads everywhere and must be supported
everywhere. Like we support type in the URL but also in some queries like top_children etc. as long as there is not usecase that you can't build
easily in the app layer I'd rather stay away from adding this. aka. not
worth the trouble?
simon
On Monday, May 20, 2013 11:51:53 PM UTC+2, InquiringMind wrote:
Just a thought: Add a category field to each document and add one or more
categories to a query along with the subtypes.
On Monday, May 20, 2013 5:40:41 PM UTC-4, Benjamin Sanders wrote:
Hi Simon,
The need is pretty similar to the need for aliases on indexes. I am
building an API for looking up and searching products by company and
category. I am using the company name as the index name, and the category
name as the type name. This makes some sense as most of the products in any
given category have very similar types of data. What I need is a way to
have subcategories pre-defined as a subset of a given type, and/or cross
category searching via a supercategory name, but always within a given
company (index).
Also, how large of a task do you think it would be to add this
functionality? I am familiar with Java and not averse to helping out with
the project. I assume I should submit some bug-fixes first
to acquaint myself with the codebase, but it is conceivable that I might
contribute this type of functionality if it would be welcomed.
Ben
On Monday, May 20, 2013 3:22:21 PM UTC-5, simonw wrote:
There is nothing in the pipeline for this. Can you elaborate why you
want this a bit more. I am trying to understand the need for it more.
thanks,
simon
On Monday, May 20, 2013 5:45:23 PM UTC+2, Benjamin Sanders wrote:
I have seen several requests for the ability to alias types as opposed
to only aliasing the indexes. I too would love to see this feature. Is this
a feature that is supported and I somehow missed it? Is it in the plans for
a future version of elasticsearch?
I guess I don't understand why index aliasing would be supported, but not
type. What's the rationale for the inconsistency from an API perspective?
If its just "not worth the trouble", why not? Just trying to understand.
Thanks again,
Bob
On Tuesday, 21 May 2013 03:24:14 UTC-4, simonw wrote:
While I agree with the category Idea I think the main problem here is not
implementing the functionality but rather testing it throughout the
application. Something like this spreads everywhere and must be supported
everywhere. Like we support type in the URL but also in some queries like top_children etc. as long as there is not usecase that you can't build
easily in the app layer I'd rather stay away from adding this. aka. not
worth the trouble?
simon
On Monday, May 20, 2013 11:51:53 PM UTC+2, InquiringMind wrote:
Just a thought: Add a category field to each document and add one or more
categories to a query along with the subtypes.
On Monday, May 20, 2013 5:40:41 PM UTC-4, Benjamin Sanders wrote:
Hi Simon,
The need is pretty similar to the need for aliases on indexes. I am
building an API for looking up and searching products by company and
category. I am using the company name as the index name, and the category
name as the type name. This makes some sense as most of the products in any
given category have very similar types of data. What I need is a way to
have subcategories pre-defined as a subset of a given type, and/or cross
category searching via a supercategory name, but always within a given
company (index).
Also, how large of a task do you think it would be to add this
functionality? I am familiar with Java and not averse to helping out with
the project. I assume I should submit some bug-fixes first
to acquaint myself with the codebase, but it is conceivable that I might
contribute this type of functionality if it would be welcomed.
Ben
On Monday, May 20, 2013 3:22:21 PM UTC-5, simonw wrote:
There is nothing in the pipeline for this. Can you elaborate why you
want this a bit more. I am trying to understand the need for it more.
thanks,
simon
On Monday, May 20, 2013 5:45:23 PM UTC+2, Benjamin Sanders wrote:
I have seen several requests for the ability to alias types as opposed
to only aliasing the indexes. I too would love to see this feature. Is this
a feature that is supported and I somehow missed it? Is it in the plans for
a future version of elasticsearch?
I guess I don't understand why index aliasing would be supported, but not
type. What's the rationale for the inconsistency from an API perspective?
If its just "not worth the trouble", why not? Just trying to understand.
so first of all I don't think this is an inconsistency. Just because you
can alisas an index doesn't mean you can alias everything else. Regarding
worth the trouble, this is a pretty big change and litereally everything
that interacts with types must support it. I can totally see several weeks
going into development here hence "worth the trouble". If you can make it
work without this tailored feature then I would rather not go down the road
and have type aliases. Does this make sense?
Regarding the link, multiple child types is a different story IMO.
simon
Thanks again,
Bob
On Tuesday, 21 May 2013 03:24:14 UTC-4, simonw wrote:
While I agree with the category Idea I think the main problem here is not
implementing the functionality but rather testing it throughout the
application. Something like this spreads everywhere and must be supported
everywhere. Like we support type in the URL but also in some queries like top_children etc. as long as there is not usecase that you can't build
easily in the app layer I'd rather stay away from adding this. aka. not
worth the trouble?
simon
On Monday, May 20, 2013 11:51:53 PM UTC+2, InquiringMind wrote:
Just a thought: Add a category field to each document and add one or
more categories to a query along with the subtypes.
On Monday, May 20, 2013 5:40:41 PM UTC-4, Benjamin Sanders wrote:
Hi Simon,
The need is pretty similar to the need for aliases on indexes. I am
building an API for looking up and searching products by company and
category. I am using the company name as the index name, and the category
name as the type name. This makes some sense as most of the products in any
given category have very similar types of data. What I need is a way to
have subcategories pre-defined as a subset of a given type, and/or cross
category searching via a supercategory name, but always within a given
company (index).
Also, how large of a task do you think it would be to add this
functionality? I am familiar with Java and not averse to helping out with
the project. I assume I should submit some bug-fixes first
to acquaint myself with the codebase, but it is conceivable that I might
contribute this type of functionality if it would be welcomed.
Ben
On Monday, May 20, 2013 3:22:21 PM UTC-5, simonw wrote:
There is nothing in the pipeline for this. Can you elaborate why you
want this a bit more. I am trying to understand the need for it more.
thanks,
simon
On Monday, May 20, 2013 5:45:23 PM UTC+2, Benjamin Sanders wrote:
I have seen several requests for the ability to alias types as
opposed to only aliasing the indexes. I too would love to see this feature.
Is this a feature that is supported and I somehow missed it? Is it in the
plans for a future version of elasticsearch?
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.