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.
solrを使用してドキュメントを調べましたが、キーを使用してSolrから単一のレコードを取得する方法が見つかりませんでしたか?
レコードのキー値がわかっている場合、このレコードを取得するためにSolrに渡す必要のあるクエリは何ですか?
ありがとう。
キーが何を意味するのかはわかりませんが、コンテキストから推測すると、スキーマによって定義されたフィールドを意味します。この場合、次のように発行できます。
// Assumes Id is a schema field // If via solr admin q=Id:1 // Properly escaped q=Id%3A1