Hi,
What about a function query in the field list.
e.g.
for:
field.x
field.y
http://?
q={!type=dismax qf='field.x field.y' v=$qq)
=solr rocks
=id,score,x_score:query({!type=dismax qf='field.x'
v=$qq}),y_score:query({!type=dismax qf='field.y' v=$qq})
Hit is x_score or y_score > 0
Note that
hey erik, totally unaware of those two. we're able to retrieve metadata
about the query itself that way?
--
*John Blythe*
Product Manager & Lead Developer
251.605.3071 | j...@curvolabs.com
www.curvolabs.com
58 Adams Ave
Evansville, IN 47713
On Tue, May 16, 2017 at 1:54 PM, Erik Hatcher
Is this the equivalent of facet.query’s? or maybe rather, group.query?
Erik
> On May 16, 2017, at 1:16 PM, Dorian Hoxha wrote:
>
> Something like elasticsearch named-queries, right
>
dorian - yup!
mikhail - interesting, will definitely check it out.
thanks-
--
*John Blythe*
Product Manager & Lead Developer
251.605.3071 | j...@curvolabs.com
www.curvolabs.com
58 Adams Ave
Evansville, IN 47713
On Tue, May 16, 2017 at 1:16 PM, Dorian Hoxha
wrote:
>
John,
You can probably go with something like
https://issues.apache.org/jira/browse/LUCENE-7628. I even gave a talk about
this approach. But turns out it's really hard to support.
On Tue, May 16, 2017 at 8:10 PM, John Blythe wrote:
> sorry for the confusion. as in i received
Something like elasticsearch named-queries, right
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-named-queries-and-filters.html
?
On Tue, May 16, 2017 at 7:10 PM, John Blythe wrote:
> sorry for the confusion. as in i received results due to
sorry for the confusion. as in i received results due to matches on field x
vs. field y.
i've gone w a highlighting solution for now. the fact that it requires
field storage isn't yet prohibitive for me, so can serve well for now. open
to any alternative approaches all the same
thanks-
--
what do you mean "hit?" As in the user clicked it?
On Tue, May 16, 2017 at 11:35 AM, John Blythe wrote:
> hey all. i'm sending data out that could represent a purchased item or a
> competitive alternative. when the results are returned i'm needing to know
> which of the two
hey all. i'm sending data out that could represent a purchased item or a
competitive alternative. when the results are returned i'm needing to know
which of the two were hit so i can serve up the *other*.
i can make a blunt instrument in the application layer to simply look for a
match between