开发者

how to search in an specific field in solr

hey i am using solr search in my mvc.net application. Now i am doing free search on it but i want this search on specific field. i.e. - - - i have various field like name, age, email, interest, profile as i enter some text in search(free search) field i want that it searched only e开发者_如何转开发mail field on indexed xml. how can i achieve it using free search.


If you need to search documents by a specific field, you can use the "fieldName:value" query format. eg. name:Manish

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜