Shay,
What if, in your example in 650, "tags" is actually an array to support
multiple values? Like this:
....
"tags": ["green","blue","red"]
....
Would the filter still apply?
Thanks.
On Mon, Jan 31, 2011 at 11:46 AM, Shay Banon
shay.banon@elasticsearch.comwrote:
Yea, its possible. Using 650:
Pass the new filter element in the search request for the language (term
filter), and add the same facet_filter to the urlTitle and day facet, but
don't pass it as a facet_filter to language.
Make sense?
-shay.banon
On Monday, January 31, 2011 at 12:43 PM, Karussell wrote:
Thanks Shay for not giving up me
Imagine I have several facet fields using the term facet feature and
the day faceting:
E.g. language, urlTitle and day (monday, tuesday, ...).
Now if the user clicks on one language it should filter the docs and
it also should filter two facets: urlTitle and dateFacets BUT NOT the
facet counts of language!
One more example: The same should happen if a user clicks on a day
('monday') then the docs should be only from monday and the facet
counts of urlTitle and language should also only be from monday. But
the counts of the dayFacets should stay!! So that the user can 'see'
the other days and can simply click then on tuesday to switch to
tuesday, etc. So the dayFilter should NOT apply on the counts of the
dayFacets but it should apply on the rest.
Is this possible?
Regards,
Peter.
On 31 Jan., 11:24, Shay Banon shay.ba...@elasticsearch.com wrote:
Can you explain what you are trying to do, and I will explain how to do
that with 650 and the option of running global facets. It sounds like, from
what I understand, that you don't need global facets.
-shay.banon
On Monday, January 31, 2011 at 12:06 PM, Karussell wrote:
Hi,
as we discussed in these issues ** there seems to be a way in ES to
enable 'multiselect' when faceting.
Now my problem is: I do not understand the difference between
global=true and issue 650
I've tried different things but I cannot make multi faceting work with
that
Or maybe I didn't properly told you what I meant ... and this guy here
can better explain the multiselect feature?
http://www.craftyfella.com/2010/01/faceting-and-multifaceting-syntax-...
(see multi faceting)
Kind Regards,
Peter.
**
Multi-select facets 路 Issue #499 路 elastic/elasticsearch 路 GitHub
Search: Allow to pass a search filter, applying only on the query (and not on facets for example) 路 Issue #650 路 elastic/elasticsearch 路 GitHub