私はsolrを使用してファセット検索を行っています。Solr にデータを入力すると、典型的なドキュメントは次のようになります。
<doc>
<str name="id">1</str>
<date name="last_modified">2012-06-03T07:23:11.215Z</date>
<str name="location">22.60325666,114.1371245</str>
<int name="media_type">0</int>
</doc>
クエリを実行すると: {!geofilt pt=37.3320927,-121.90056663 d=100 sfield=location d=5} 2 つのドキュメントが返されます。同様に、 {!geofilt pt=37.3320927,-121.90056663 d=100 sfield=location d=50} を実行すると、6 つのドキュメントが返されます。
しかし、クエリを実行すると:
http://localhost:8983/solr/select?sfield=location&pt=37.3320927,-121.90056663&facet.query={!geofilt%20d=10%20key=d10}&facet.query={!geofilt%20d=20%20key=d20}&facet.query={!geofilt%20d=50%20key=d50}&wt=xml&facet=true
私は応答を受け取ります:
同様に:
http://localhost:8983/solr/select?sfield=location&pt=37.3320927,-121.90056663&facet.query={!geofilt%20d=10%20key=d10}&facet.query={!geofilt%20d=20%20key=d20}&facet.query={!geofilt%20d=50%20key=d50}&wt=xml&facet=true
私は応答を受け取ります:
私が間違っていることはありますか?