Also note that Solr field names really shouldn't contain the period.
>From the ref guide:
"Field names should consist of alphanumeric or
underscore characters only and not start with a digit..."
names with dots won't be rejected, but aren't guaranteed to
be supported in all situations either.
B
I notice the space after the 2nd +. It's not a really big issue, but it
should be recognized as a syntax error (I believe), it might mean that your
http layer may grab pluses and turn them into spaces, try to replace them
to %2b.
Regarding the exception, this is what I tried to protect from with th
Please see the answers below.
On Tue, Jan 16, 2018 at 8:40 AM, Mikhail Khludnev wrote:
> On Tue, Jan 16, 2018 at 10:30 AM, Dariusz Wojtas
> wrote:
>
> > Hello Mikhail,
> >
> > I've tried it and the query executes, but it does not treat strdist() as
> a
> > function to execute.
> > Looks like ea
On Tue, Jan 16, 2018 at 10:30 AM, Dariusz Wojtas wrote:
> Hello Mikhail,
>
> I've tried it and the query executes, but it does not treat strdist() as a
> function to execute.
> Looks like each part of the function - it's name and parameters - are
> treated as keywords to search for against the de
Hello Mikhail,
I've tried it and the query executes, but it does not treat strdist() as a
function to execute.
Looks like each part of the function - it's name and parameters - are
treated as keywords to search for against the default field.
If I try something different:
q=+firstName:Adam +{!
Hello, Dariusz.
It should be something like
q=+firstName:Adam +{!parent which=type:record
v=$chq}&chq=+type:address +strdist('Shakespeare',
address.street, edit)
post exception if it doesn't work.
On Tue, Jan 16, 2018 at 1:39 AM, Dariusz Wojtas wrote:
> Hi,
>
> Is it possible to use the strdist
Hi,
Is it possible to use the strdist() function to return distance on the
child document field?
Let's say I have:
1
record
Adam
A1
address
business
Shakespeare
A2
address
correspondence
Baker Street
What I want to do is to search for d