Hello, Frank.
It's not clear what field is. I guess that per shard {!child}
results might clash by id during merge. Can you make sure that per child
ids are unique across all shards?
On Mon, Mar 6, 2017 at 10:47 PM, Kelly, Frank wrote:
> Hi Mikhail,
> Sorry I didn’t reply sooner
>
> Here are
Hi Mikhail,
Sorry I didn’t reply sooner
Here are some example docs - each document for a userAccount object has 1
or more nested documents for our userLinkedAccount object
SolrInputDocument(fields: [type=userAccount,
typeId=userAccount/HERE-8ce41333-7c08-40d3-9b2c-REDACTED,
id=userAccount/HERE
Hello, Frank!
The closest equivalent would be q=+type:userAccount +givenName:test*
And make sure please that it's parsed correctly with debugQuery=true.
Can you also narrow the query to troubleshoot the difference?
ahhh I probably understood.. shards results are merged by uniqueKey, can
you share
This is Solr Cloud 5.3.1
I have a query like the following
q={!child of="type:userAccount" v="givenName:test*”}
Intent: Show me all children of the type:userAccount where
userAccount.givenName:test*
If I run the query multiple times I get a very different numFound difference
186,560 to 187,412
white cat"
>
> Can you open a JIRA for this?
>
> -Yonik
>
>
> On Mon, May 16, 2016 at 10:23 AM, Matteo Grolla
> wrote:
> > Hi everyone,
> > I have a problem with nested queries
> > If the order is:
> > 1) query
> > 2) nested query (embedded in _q
> Hi everyone,
> I have a problem with nested queries
> If the order is:
> 1) query
> 2) nested query (embedded in _query_:"...")
> everything works fine
> if it is the opposite, like this
>
> http://localhost:8983/solr/test/select?q=_query_:%22{!lucene%20df
Hi everyone,
I have a problem with nested queries
If the order is:
1) query
2) nested query (embedded in _query_:"...")
everything works fine
if it is the opposite, like this
http://localhost:8983/solr/test/select?q=_query_:%22{!lucene%20df=name_t}(\%22black%20dog\%22)%22%20O
/questions/23959727/sum-of-nested-queries-in-solr about
taking the sum of OR'd nested queries. I'll repeat it here, but if you want
some SO points and have an answer, feel free to answer there.
[quote]
We have a search that takes text from two different fields and then searches
Hi! I have a question which I posted on
http://stackoverflow.com/questions/23959727/sum-of-nested-queries-in-solr about
taking the sum of OR'd nested queries. I'll repeat it here, but if you want
some SO points and have an answer, feel free to answer there.
[quote]
We have a s
I have a simple query 'q=hurco' (parser type edismax). Elevation is properly
configured, so I get the expected results:
...
7HURCO
0~*
true
A similar query with a nested query 'q=(hurco AND _query_:"{!field f=debtoritem
v=0~*}")' returns the same document but without el
should be a match. I was able to get
this working using the following solr query:
q=
*:* AND _query_:"{!join from=root_id to=id}acessory1:Keyboard AND
acessory2:Mouse" AND _query_:"{!join from=root_id to=id}acessory1:Monitor
AND acessory2:Tablet"
As we can see, I am usi
https://issues.apache.org/jira/browse/SOLR-4625
-Yonik
http://lucidworks.com
On Tue, Mar 19, 2013 at 11:12 PM, Yonik Seeley wrote:
> On Tue, Mar 19, 2013 at 8:52 PM, Michael Ryan wrote:
>> I was wondering if anyone is aware of an existing Jira for this bug...
>>
>> _query_:"\"a b\"~2"
>> ...is
On Tue, Mar 19, 2013 at 8:52 PM, Michael Ryan wrote:
> I was wondering if anyone is aware of an existing Jira for this bug...
>
> _query_:"\"a b\"~2"
> ...is parsed as...
> PhraseQuery(someField:"a b")
> ...instead of the expected...
> PhraseQuery(someField:"a b"~2)
>
> _query_:"\"a b\""~2
> ...is
I was wondering if anyone is aware of an existing Jira for this bug...
_query_:"\"a b\"~2"
...is parsed as...
PhraseQuery(someField:"a b")
...instead of the expected...
PhraseQuery(someField:"a b"~2)
_query_:"\"a b\""~2
...is parsed as...
PhraseQuery(someField:"a b"~2)
_query_:"\"a b\"~2"~3
...i
e spaces or "^".
-- Jack Krupansky
-Original Message-
From: Anatoli Matuskova
Sent: Tuesday, January 22, 2013 4:32 AM
To: solr-user@lucene.apache.org
Subject: Re: bf, nested queries and local params
q=table&bf=product(scale(product(query({!v='color'}),1),0,1),100)
oving spaces between params results in errors too).
--
View this message in context:
http://lucene.472066.n3.nabble.com/bf-nested-queries-and-local-params-tp4035216p4035284.html
Sent from the Solr - User mailing list archive at Nabble.com.
work, sounds like a bug.
-- Jack Krupansky
-Original Message-
From: Anatoli Matuskova
Sent: Monday, January 21, 2013 9:10 PM
To: solr-user@lucene.apache.org
Subject: Re: bf, nested queries and local params
q=table&bf=product(scale(query({!v='color'}),0,1),100)
Gives me b
ne.apache.org
Subject: Re: bf, nested queries and local params
Getting closer:
q=table&bf=product(scale(query({!v='with color'}),0,1),100)
I was expecting to get the score from query({!v='with color'}) so the scale
would look like (this is just an example in a document):
sc
013 7:53 PM
To: solr-user@lucene.apache.org
Subject: Re: bf, nested queries and local params
Looks like doing this:
/Wrap the query argument for the scale function with the query function:
q=table&bf=product(scale(query({!type=dismax qf=description,color v='with
color'}),0,1),pr
ted query but can't figure out what
--
View this message in context:
http://lucene.472066.n3.nabble.com/bf-nested-queries-and-local-params-tp4035216p4035218.html
Sent from the Solr - User mailing list archive at Nabble.com.
To: solr-user@lucene.apache.org
Subject: bf, nested queries and local params
I'm trying to reach this:
Having this query:
q=table&bf=product(scale({!type=dismax qf=description,color v='with
color'},0,1),price)
And using on q (in solrconfig.xml) defType=dismax, qf=title, des
pe=dismax) inside the first parameter
of the scale function?
--
View this message in context:
http://lucene.472066.n3.nabble.com/bf-nested-queries-and-local-params-tp4035216.html
Sent from the Solr - User mailing list archive at Nabble.com.
Thanks!
I was wondering why my highlighting wasnt' working either.
--
View this message in context:
http://lucene.472066.n3.nabble.com/optional-nested-queries-tp3128847p3130593.html
Sent from the Solr - User mailing list archive at Nabble.com.
Put an OR between your two nested queries to ensure you're using that operator.
Also, those hl params in your first dismax don't really belong there and
should be separate parameters globally.
Erik
On Jul 1, 2011, at 06:19 , joelmats wrote:
> Hello!
>
> Is it
Hello!
Is it possible to have an optional nested query. I have 2 nested queries and
would like to have the first query mandatory but the second optional. ie..
if there is a match on the second query, i would like it to improve the
score but it is not required.
A sample query I am currently using
the
document doesn't have a field called has_image at all, the dummy:1 will
always pass.
Ken
--
View this message in context:
http://lucene.472066.n3.nabble.com/optional-nested-queries-tp3128847p3129064.html
Sent from the Solr - User mailing list archive at Nabble.com.
I don't think your queries are actually nested queries. Nested queries key
off of the "magic" field name _query_. You're right however that there is
very little in the way of documentation of examples of nested queries. If
you haven't seen this blog about them yet you
Grant,
Grant Ingersoll wrote:
On Nov 19, 2009, at 7:02 AM, Andrea Campi wrote:
To make things easier and more maintainable, I'd like to use nested queries for
that; I'd like to be able to write:
q={!boost b=$dateboost v=ftext:$terms^1000 OR
text:$terms}&dateboost=product(
On Nov 19, 2009, at 7:02 AM, Andrea Campi wrote:
> Hi,
>
> I'm trying to wrap my head around nested queries and I'm having some trouble
> figuring out how far can I go with them. I have to say documentation is still
> a bit sparse... :/
>
>
> I'm tr
Hi,
I'm trying to wrap my head around nested queries and I'm having some
trouble figuring out how far can I go with them. I have to say
documentation is still a bit sparse... :/
I'm trying to build a query that would search the same term(s) on
different fields with differe
: http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/).
: When working with Solr 1.3 stable, I'm able to use this syntax
: effectively using the default requestHandler, but when I am
: hand-rolling my own requestHandler, it doesn't recognize the _query_
the magic fie
Hi all,
I'm trying to figure out which query parser handles nested queries
(the kind documented here:
http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/).
When working with Solr 1.3 stable, I'm able to use this syntax
effectively using the default requestHandler,
32 matches
Mail list logo