I have a URL that contains an ID. I would like extract the ID during
analysis so that the ID part of the URL is searchable, I would like to it
to have its own property in the index 'productId' and store it so it can be
returned
I have a URL that contains an ID. I would like extract the ID during
analysis so that the ID part of the URL is searchable, I would like to it
to have its own property in the index 'productId' and store it so it can be
returned
On Thu, May 23, 2013 at 11:44 AM, es newbie <dan.t...@gmail.com<javascript:>
wrote:
Hi
I have a URL that contains an ID. I would like extract the ID during
analysis so that the ID part of the URL is searchable, I would like to it
to have its own property in the index 'productId' and store it so it can be
returned
all of the other parts of the URL are not numeric.
Is there a way to do this in elasticSearch?
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
Given that you want to extract just the ID from the URL, rather than all of
the parts, you can use the pattern tokenizer to capture just the first
capture group:
On Thursday, May 23, 2013 12:22:34 PM UTC+1, Clinton Gormley wrote:
Given that you want to extract just the ID from the URL, rather than all
of the parts, you can use the pattern tokenizer to capture just the first
capture group:
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.