0

solr4 引入了 join 功能,所以我们可以使用下面的 url:

 {!join from=fromField to=toField fromIndex=fromCoreName}news_headline:apple

但是我有这样的场景,不仅需要news_headline,还需要news_type,怎么在这个url中添加news_type呢?

4

1 回答 1

1

睡了一觉,发现这个url和q是一样的,可以这样解决:

{!join from=fromField to=toField fromIndex=fromCoreName}news_headline:apple AND news_type:internal
于 2013-02-01T03:19:53.843 回答