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
精彩评论