Re: Search for a value across multiple fields

2014-02-14 Thread Luca Pau
Sorry, typo: "This is the result of the query *you posted*:" Il giorno venerdì 14 febbraio 2014 14:29:38 UTC+1, Luca Pau ha scritto: > > We're almost there! > This is the result of the query that I have posted: > > >- hits: { > - total: 3 >

Re: Search for a value across multiple fields

2014-02-14 Thread Luca Pau
We're almost there! This is the result of the query that I have posted: - hits: { - total: 3 - max_score: 4.724929 - hits: [ - { - _index: website - _type: structure - _id: 7 - _score: 4.724929 - fields: {

Search for a value across multiple fields

2014-02-13 Thread Luca Pau
Hello guys, I'm learning to use elasticsearch and I ran into a little problem .. My purpose is to search for a value across multiple fields and return the count of these values ​​and the distinct value. To do this I realized that I have to use the facets. This is the database schema: index: