次の(簡略化された)solrスキーマがあります。
<schema name="documents" version="1.1">
<uniqueKey>id</uniqueKey>
...
<fields>
<field
name="id"
type="string"
indexed="true"
stored="true"
required="true"/>
<field
name="documentReferences"
type="string"
indexed="true"
stored="false"
multiValued="true"
required="false"/>
</fields>
</schema>
このフィールドにある値は、この solr コアでインデックス化されている他のdocumentReferences
すべての値です。ids
documents
私が達成したい検索(英語で):
Documents who's id is not in any other document's documentReferences field
これは可能ですか?この質問への回答に役立つ場合は、別のフィールドのインデックス作成に問題はありません。