The query works if I remove one of the facets. Is the format correct? Is
it possible to use more than one facet? I'm using tire to form the query,
and it seems to be creating the query correctly per the documentation. Is
this a bug, or am I in fact doing something wrong?
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get the
error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you only have
1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted the
query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format correct? Is
it possible to use more than one facet? I'm using tire to form the query,
and it seems to be creating the query correctly per the documentation. Is
this a bug, or am I in fact doing something wrong?
Like I mentioned, the query works properly if I remove one of the facets,
so I've tried removing the 'inactive_2w' already.
As for the query, the "and" is put there by tire when I do:
query do
filtered do
query { all }
filter :term, :customer_id => customer_id
end
end
... but I think that should be unrelated, right?
On Thursday, April 25, 2013 1:38:55 PM UTC+1, Yehuda Zargarov wrote:
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get the
error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you only
have 1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted the
query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format correct?
Is it possible to use more than one facet? I'm using tire to form the
query, and it seems to be creating the query correctly per the
documentation. Is this a bug, or am I in fact doing something wrong?
It is obviously not the reason for the error.. just didn't make sense to me.
Did you try removing the first facet and leaving only the "inactive_2w"?
On Thursday, April 25, 2013 3:50:52 PM UTC+3, Adam Lebsack wrote:
Like I mentioned, the query works properly if I remove one of the facets,
so I've tried removing the 'inactive_2w' already.
As for the query, the "and" is put there by tire when I do:
query do
filtered do
query { all }
filter :term, :customer_id => customer_id
end
end
... but I think that should be unrelated, right?
On Thursday, April 25, 2013 1:38:55 PM UTC+1, Yehuda Zargarov wrote:
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get the
error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you only
have 1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted the
query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format correct?
Is it possible to use more than one facet? I'm using tire to form the
query, and it seems to be creating the query correctly per the
documentation. Is this a bug, or am I in fact doing something wrong?
Yes, I've tried both... each facet works on its own. The interesting part
of the error is at the bottom:
Parse Failure [No parser for element [inactive_2w]]
Why would an (almost) identical sibling of inactive_1w not have a parser
defined?
On Thursday, April 25, 2013 2:07:44 PM UTC+1, Yehuda Zargarov wrote:
It is obviously not the reason for the error.. just didn't make sense to
me.
Did you try removing the first facet and leaving only the "inactive_2w"?
On Thursday, April 25, 2013 3:50:52 PM UTC+3, Adam Lebsack wrote:
Like I mentioned, the query works properly if I remove one of the facets,
so I've tried removing the 'inactive_2w' already.
As for the query, the "and" is put there by tire when I do:
query do
filtered do
query { all }
filter :term, :customer_id => customer_id
end
end
... but I think that should be unrelated, right?
On Thursday, April 25, 2013 1:38:55 PM UTC+1, Yehuda Zargarov wrote:
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get
the error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you only
have 1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted the
query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format correct?
Is it possible to use more than one facet? I'm using tire to form the
query, and it seems to be creating the query correctly per the
documentation. Is this a bug, or am I in fact doing something wrong?
On Thursday, April 25, 2013 4:19:25 PM UTC+3, Adam Lebsack wrote:
Yes, I've tried both... each facet works on its own. The interesting
part of the error is at the bottom:
Parse Failure [No parser for element [inactive_2w]]
Why would an (almost) identical sibling of inactive_1w not have a parser
defined?
On Thursday, April 25, 2013 2:07:44 PM UTC+1, Yehuda Zargarov wrote:
It is obviously not the reason for the error.. just didn't make sense to
me.
Did you try removing the first facet and leaving only the "inactive_2w"?
On Thursday, April 25, 2013 3:50:52 PM UTC+3, Adam Lebsack wrote:
Like I mentioned, the query works properly if I remove one of the
facets, so I've tried removing the 'inactive_2w' already.
As for the query, the "and" is put there by tire when I do:
query do
filtered do
query { all }
filter :term, :customer_id => customer_id
end
end
... but I think that should be unrelated, right?
On Thursday, April 25, 2013 1:38:55 PM UTC+1, Yehuda Zargarov wrote:
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get
the error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you only
have 1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted the
query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format correct?
Is it possible to use more than one facet? I'm using tire to form the
query, and it seems to be creating the query correctly per the
documentation. Is this a bug, or am I in fact doing something wrong?
On Thursday, April 25, 2013 2:22:17 PM UTC+1, Yehuda Zargarov wrote:
can you please pass your full *tire *code?
On Thursday, April 25, 2013 4:19:25 PM UTC+3, Adam Lebsack wrote:
Yes, I've tried both... each facet works on its own. The interesting
part of the error is at the bottom:
Parse Failure [No parser for element [inactive_2w]]
Why would an (almost) identical sibling of inactive_1w not have a parser
defined?
On Thursday, April 25, 2013 2:07:44 PM UTC+1, Yehuda Zargarov wrote:
It is obviously not the reason for the error.. just didn't make sense to
me.
Did you try removing the first facet and leaving only the "inactive_2w"?
On Thursday, April 25, 2013 3:50:52 PM UTC+3, Adam Lebsack wrote:
Like I mentioned, the query works properly if I remove one of the
facets, so I've tried removing the 'inactive_2w' already.
As for the query, the "and" is put there by tire when I do:
query do
filtered do
query { all }
filter :term, :customer_id => customer_id
end
end
... but I think that should be unrelated, right?
On Thursday, April 25, 2013 1:38:55 PM UTC+1, Yehuda Zargarov wrote:
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get
the error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you only
have 1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted the
query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format
correct? Is it possible to use more than one facet? I'm using tire to
form the query, and it seems to be creating the query correctly per the
documentation. Is this a bug, or am I in fact doing something wrong?
I found an (exactly) similar problem on stack overflow.. there is even a
reply from karmi (the author of tire) in which he says he has no idea..
The funny thing is that he also has 2 facets, both with range, and it also
works when he removes 1 of the facets..
On Thursday, April 25, 2013 4:24:44 PM UTC+3, Adam Lebsack wrote:
On Thursday, April 25, 2013 2:22:17 PM UTC+1, Yehuda Zargarov wrote:
can you please pass your full *tire *code?
On Thursday, April 25, 2013 4:19:25 PM UTC+3, Adam Lebsack wrote:
Yes, I've tried both... each facet works on its own. The interesting
part of the error is at the bottom:
Parse Failure [No parser for element [inactive_2w]]
Why would an (almost) identical sibling of inactive_1w not have a parser
defined?
On Thursday, April 25, 2013 2:07:44 PM UTC+1, Yehuda Zargarov wrote:
It is obviously not the reason for the error.. just didn't make sense
to me.
Did you try removing the first facet and leaving only the
"inactive_2w"?
On Thursday, April 25, 2013 3:50:52 PM UTC+3, Adam Lebsack wrote:
Like I mentioned, the query works properly if I remove one of the
facets, so I've tried removing the 'inactive_2w' already.
As for the query, the "and" is put there by tire when I do:
query do
filtered do
query { all }
filter :term, :customer_id => customer_id
end
end
... but I think that should be unrelated, right?
On Thursday, April 25, 2013 1:38:55 PM UTC+1, Yehuda Zargarov wrote:
There is no problem creating as much facets as you want.
Try removing the second facet called 'inactive_2w' (on which you get
the error) and see if you still get the same error..
BTW why do you have an 'and' filter in the query section when you
only have 1 condition?
On Thursday, April 25, 2013 3:15:34 PM UTC+3, Adam Lebsack wrote:
I'm trying to query with multiple facets in a query. I've posted
the query and subsequent error here: Multiple facets error · GitHub
The query works if I remove one of the facets. Is the format
correct? Is it possible to use more than one facet? I'm using tire to
form the query, and it seems to be creating the query correctly per the
documentation. Is this a bug, or am I in fact doing something wrong?
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.