Hi. I've such task that should be resolved.
All we know what is SEO and we know that all URLs of our websites should be
nice.
I've a website with products and URL of each product is something like
"apple-ipad", "apple-ipad-2".
When I'm trying to get product by URL with dash from ElasticSearch then it
works not in way I want.
This command gives me 4 products: curl
"localhost:9200/shops/shops/_search?q=type:Product+AND+url.ru:apple-ipad-2"
But I know that there is only 1 product with URL "apple-ipad-2".
How can I get this 1 product?
Hi. I've such task that should be resolved.
All we know what is SEO and we know that all URLs of our websites should be nice.
I've a website with products and URL of each product is something like "apple-ipad", "apple-ipad-2".
When I'm trying to get product by URL with dash from ElasticSearch then it works not in way I want.
This command gives me 4 products:
curl "localhost:9200/shops/shops/_search?q=type:Product+AND+url.ru:apple-ipad-2"
But I know that there is only 1 product with URL "apple-ipad-2".
How can I get this 1 product?
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 23 déc. 2012 à 16:52, Alexander Petrichkovich <alexander.p...@gmail.com<javascript:>>
a écrit :
Hi. I've such task that should be resolved.
All we know what is SEO and we know that all URLs of our websites should
be nice.
I've a website with products and URL of each product is something like
"apple-ipad", "apple-ipad-2".
When I'm trying to get product by URL with dash from Elasticsearch then it
works not in way I want.
This command gives me 4 products:
*curl
"localhost:9200/shops/shops/_search?q=type:Product+AND+url.ru:apple-ipad-2"
*
But I know that there is only 1 product with URL "apple-ipad-2".
How can I get this 1 product?
Hi. I've such task that should be resolved.
All we know what is SEO and we know that all URLs of our websites should be nice.
I've a website with products and URL of each product is something like "apple-ipad", "apple-ipad-2".
When I'm trying to get product by URL with dash from Elasticsearch then it works not in way I want.
This command gives me 4 products:
curl "localhost:9200/shops/shops/_search?q=type:Product+AND+url.ru:apple-ipad-2"
But I know that there is only 1 product with URL "apple-ipad-2".
How can I get this 1 product?
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.