: i'm not sure i follow what you're saying on #3. let me clarify in case it's
: on my end. i was wanting to *eventually* set a lower bound of -10%size1 and
: an upper of +10%size1. for the sake of experimentation i started with just
lower bound "of what" ?
write out the math equation you want to
i'm not sure i follow what you're saying on #3. let me clarify in case it's
on my end. i was wanting to *eventually* set a lower bound of -10%size1 and
an upper of +10%size1. for the sake of experimentation i started with just
the lower bound. i didn't care (at that point) about the results, just
g
: 2) lame :\
Why do you say that? ... it's a practical limitation -- for each document
a function is computed, and then the result of that function is compared
against the (fixed) upper and lower bounds.
In situations where you want the something like the lower bound of the
range comparison t
1) ooo, i see
2) lame :\
3) right. i hadn't bothered with the upper limit yet simply for sake of
less complexity / chance to fk it up. wanted to get the function working
for lower before worrying about adding u= and getting the query refined
4) very good point about just doing it client side. i kno
: Expected identifier at pos 29 str='{!frange l=sum(size1, product(size1,
: .10))}size1
:
: pos 29 is the open parenthesis of product(). can i not use a function
: within a function? or is there something else i'm missing in the way i'm
: constructing this?
1) you're confusing the parser by tryi
doh!
1) silly me, i knew better but was getting tunnel visioned
2) moved to fq and am now getting this error:
Expected identifier at pos 29 str='{!frange l=sum(size1, product(size1,
.10))}size1
pos 29 is the open parenthesis of product(). can i not use a function
within a function? or is there so
fq, not fl.
fq is "filter query"
fl is the "field list", the stored fields to be returned to the user.
Best,
Erick
On Thu, May 28, 2015 at 9:03 AM, John Blythe wrote:
> I've set the field to be processed as such:
>
>
> and then have this in the fl box in Solr admin UI:
> *, score, {!frange l=s
I've set the field to be processed as such:
and then have this in the fl box in Solr admin UI:
*, score, {!frange l=sum(size1, product(size1, .10))}size1
I'm trying to use the size1 field as the item upon which a frange is being
used, but also need to use the size1 value for the mathematical fun
thanks erick. will give it a whirl later today and report back tonight or
tomorrow. i imagine i'll have some more questions crop up :)
best,
--
*John Blythe*
Product Manager & Lead Developer
251.605.3071 | j...@curvolabs.com
www.curvolabs.com
58 Adams Ave
Evansville, IN 47713
On Wed, May 27,
1> tfloat
2> fq=dimField:[4.5 TO 5.5] or even use frange to set the lower and
upper bounds via function
Best,
Erick
On Wed, May 27, 2015 at 5:29 AM, John Blythe wrote:
> hi all,
>
> i'm attempting to suggest products across a range to users based on
> dimensions. if there is a "5x10mm Drill Set"
hi all,
i'm attempting to suggest products across a range to users based on
dimensions. if there is a "5x10mm Drill Set" for instance and a competitor
sales something similar enough then i'd like to have it shown. the range,
however, would need to be dynamic. i'm thinking for our initial testing
p
11 matches
Mail list logo