lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marotosg <>
Subject join and NOT together
Date Mon, 15 Feb 2016 16:10:28 GMT

I am trying to solve an issue when doing a search joining two collections
and negating the cross core query.

Let's say I have one collection person and another collection documents and
I can join them using local param !join because I have PersonIDS in document

if my query is like below. Query executed against Person Core. I want to
retrieve people with name Peter and not documents attached of type pdf.

q=PersonName:peter AND {!type=join from=DocPersonID to=PersonID
fromIndex=document v='(*:* -DocType:pdf)' }

If I have for person 1 called peter two documents one of type:pdf and other
one of type:word.
Then this person will come back.

Is there any way of excluding that person if any of the docs fulfill the


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message