Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の質問は、1 つの SOLR クエリで 2 つのカウントを実現するにはどうすればよいですか? 私はこのようなことを試しました:
q=query&field:[* TO *],-field:[* TO *]&start=0&rows=0&facet=true&facet.missing=true
つまり、同じフィールドの null レコードではなく、null レコードをカウントしようとしています。
エラーは報告されていませんが、結果は取得されていません。
これにより、両方のカウントが得られます。
q=query&facet=true&facet.query=field:[* TO *]&facet.query=-field:[* TO *]&rows=0