Solr查询子文档

时间:2014-07-25 17:16:42

标签: solr

我通常使用elasticsearch而且我是solr的新手。如何在以下某些代码中搜索子文档中的邮政编码?它甚至可能吗?

{
  name: "my Name",
  phone: {
     mobile: "(123) 456 7800", 
     mobile2: "(123) 456 7800"
  },
  Address:{
     Home: {
        address: "123 something way",
        cs: "El Cerrito, CA",
        zip: 99999
     },
     Work: {
        address: "444 Goldriver drive",
        cs: "Cool, CA",
        zip: 88888  
     }
 }
}

0 个答案:

没有答案