lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ku3ia <dem...@gmail.com>
Subject Parent query yields document which is not matched by parents filter
Date Tue, 11 Nov 2014 11:06:08 GMT
Hi, folks!

We are using parent/child architecture in our project and sometimes when
using child transformer ([child]) there are an exception:

"Parent query yields document which is not matched by parents filter,
docID=..."

Examples of query are:
http://localhost/solr/core/select?fq=id:123456789&fl=*&q={!child
of=DocumentType:parent}Text:foo
http://localhost/solr/core/select?q=id:123456789&fl=*,[child
parentFilter=DocumentType:parent]

Documents in index:
<doc>
  <id>123456789_0</id>
  <Text>foo</Text>
<doc>
<doc>
  <id>123456789</id>
  <DocumentType>parent</DocumentType>
  ... other fields
</doc>

"Root" field in schema.xml is present.

When I made an optimize to one segment sometimes error is dissapeared, but
sometimes not. Please advice how to fix it.



--
View this message in context: http://lucene.472066.n3.nabble.com/Parent-query-yields-document-which-is-not-matched-by-parents-filter-tp4168727.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message