Hi All,
My field has value
"http://www.ebay.com/fashion/outlet/srp/?_sacat=93427&_aspects=Brand~Gola ".
If I am using the "=" in value , then query is not returning any result.
QueryBuilders.wildcardQuery("c0","http://www.ebay.com/fashion/outlet/srp/?_sacat=93427&_aspects=Brand~Gola ");
But, if i replace "=" with "?", then query is returning result.
QueryBuilders.wildcardQuery("c0","http://www.ebay.com/fashion/outlet/srp/?_sacat?93427&_aspects?Brand~Gola ");
Please let me know, if i am missing something.
Thanks,
Ankit
--
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 elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
dadoonet
(David Pilato)
June 14, 2013, 2:21pm
2
You are probably using default analyzer, aren't you?
You should not analyze your field.
What is exactly your use case? What does your data look like?
A side note: don't use Wildcard queries unless you really really need it.
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 14 juin 2013 à 14:59, Ankit Jain ankitjaincs06@gmail.com a écrit :
Hi All,
My field has value "http://www.ebay.com/fashion/outlet/srp/?_sacat=93427&_aspects=Brand~Gola ".
If I am using the "=" in value , then query is not returning any result.
QueryBuilders.wildcardQuery("c0","http://www.ebay.com/fashion/outlet/srp/?_sacat=93427&_aspects=Brand~Gola ");
But, if i replace "=" with "?", then query is returning result.
QueryBuilders.wildcardQuery("c0","http://www.ebay.com/fashion/outlet/srp/?_sacat?93427&_aspects?Brand~Gola ");
Please let me know, if i am missing something.
Thanks,
Ankit
--
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 elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .