I am familur with facets and making them work but I would really like some
sort of magical facet that would facet everything. What I mean is that
facets require me to supply what feilds i want a facet on. Where as I want
to supply some sort of range between time A and Time C or any sort of way
of filtering documents and then for the facets to figure it out for its
self. So if the field is a type of number it should use a statistical and
if its a string then to use a term facet. My documents are very dynamic
with nesting and so on this would really help for data aggregation and so
on.
I am familur with facets and making them work but I would really like some
sort of magical facet that would facet everything. What I mean is that
facets require me to supply what feilds i want a facet on. Where as I want
to supply some sort of range between time A and Time C or any sort of way
of filtering documents and then for the facets to figure it out for its
self. So if the field is a type of number it should use a statistical and
if its a string then to use a term facet. My documents are very dynamic
with nesting and so on this would really help for data aggregation and so
on.
One way to achieve it would be to keep a mapping of attributes and values
to ids separately ((color, red) -> 1, (color, green)->2, (type, usb)->3),
have a field with ids in document and facet on this.
On Thursday, August 29, 2013 8:56:04 PM UTC+1, Alexis Okuwa wrote:
This post that i found on stack overflow explains what am looking for.
On Thu, Aug 29, 2013 at 12:44 PM, Alexis Okuwa <wojon...@gmail.com<javascript:>
wrote:
I am familur with facets and making them work but I would really like
some sort of magical facet that would facet everything. What I mean is that
facets require me to supply what feilds i want a facet on. Where as I want
to supply some sort of range between time A and Time C or any sort of way
of filtering documents and then for the facets to figure it out for its
self. So if the field is a type of number it should use a statistical and
if its a string then to use a term facet. My documents are very dynamic
with nesting and so on this would really help for data aggregation and so
on.
The issue that I have is in most cases that will my code is a multi tenant
environment so for example i have the paths to drives and nics which are
named by the user so the mapping will get pretty large.
On Thursday, August 29, 2013 12:44:02 PM UTC-7, Alexis Okuwa wrote:
I am familur with facets and making them work but I would really like some
sort of magical facet that would facet everything. What I mean is that
facets require me to supply what feilds i want a facet on. Where as I want
to supply some sort of range between time A and Time C or any sort of way
of filtering documents and then for the facets to figure it out for its
self. So if the field is a type of number it should use a statistical and
if its a string then to use a term facet. My documents are very dynamic
with nesting and so on this would really help for data aggregation and so
on.
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.