0
我試圖在Solr中設置字段來執行復雜的搜索。針對複雜數據的Solr架構設置幫助
我希望用戶能夠根據他們在白天和時間段提供的運營時間和服務時間找到組織。
例子:Find all organizations open Monday at 3pm offering childcare service and Spanish speakers.
字段有:
- day of week open (long)
- open time (long)
- close time (long)
- services offered (long)
- languages spoken (long)
我知道我可以使用數組字段範圍查詢到任何一個領域的搜索,但我不知道如何關聯相關數據。如果托兒服務僅在週三提供,我不希望該組織在搜索週一時出現。
當你瞭解Solr是如何工作的時候,這種思維方式很有意義。 – 2010-12-08 18:57:44