May be highlighting could help?
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 27 décembre 2013 at 10:17:46, Prince (princej...@gmail.com) a écrit:
I refined my query to the following:
curl -XGET
'http://localhost:9200/venues,events,offers,users/_search?pretty=true' -d '
{
query : {
indices : {
indices : [venues, events, users, offers],
query : {
It would be possible to implement a highlighter that just returned which
terms matched which fields but Elasticsearch doesn't have one now. I think
you have two options at this point:
1. Do something hacky with highlighting like asking for the text length to
be the
Is the sub-type field analyzed?
--
Ivan
On Dec 27, 2013 1:20 AM, Chetana ambha.car...@gmail.com wrote:
I have a boolean field 'flag' which I want to filter for facet field
'sub_type'. But the total count is zero though there are some documents
satisfying the criteria.
But if I apply
Could you gist a full curl recreation?
--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 27 déc. 2013 à 17:37, Nikolay Chankov nchan...@gmail.com a écrit :
Thank you for the reply David, but unfortunately it doesn't make any
difference. :(
On Friday, December 27,
Dear Readers
I have a question about facets and doing some filtering based on facets.
In the moment I am using hibernate search in combination with bobobrowse
for facetting and I am thinking about switching to ES. But before that I
would like to check whether I can still get the same
Facets work on the documents returned by the query. This behavior will not
work in your case since you would like to gather facets on a greater set of
documents, not just the ones returned by the query. To solve this issue,
elasticsearch provides a post filter, which affects the result document
The indexes are populated from jdbc river, so I will try to create an
example. The behavior is the same. HTH
Here it is:
curl -XDELETE 'http://localhost:9200/test_venues'
curl -XPUT 'http://localhost:9200/test_venues'
curl -XPUT 'http://localhost:9200/test_venues/test_venue/_mapping' -d '
{
Hi Otis,
No, Elasticsearch doesn't expose field updates.
Field updates are only supported by numeric doc values, which are
single-valued. In Elasticsearch, all fields may be multi-valued so we
actually use binary doc values in order to store numeric fields[1].
Moreover, field updates may not
Dear Ivan
thank you very much for your pointers. I will read through it and come
back, if I have further questions!
thanks
Am Freitag, 27. Dezember 2013 18:58:13 UTC+1 schrieb Ivan Brusic:
Facets work on the documents returned by the query. This behavior will
not work in your case since
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/How-to-change-mapping-name-tp4046546p4046629.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
Hi:
I setup a elasticsearch cluster with jdk 1.7.0_45, and config
action.auto_create_index: false.
When I used jdk 1.6.0_22 client connect the cluter, and update a
document
to a not existing index, it throwed TransportSerializationException:
Hi,
I have recently started playing with ES for a site search project. My
search query runs against multiple tables across two databases, masterDb
clientDb. So my plan is to create two indexes one for each database and
then add multiple types to each index.
And then finally query across those
Hi,
I want to retrive the last two days of a seller_id, the query is:
{
from: 0,
size: 50,
query: {
term: {
seller.id: 4
}
},
filter: {
range: {
date_created: {
from: now/d-1d,
to: now,
14 matches
Mail list logo