Re: Search in Solr Index

2015-04-20 Thread Vijaya Narayana Reddy Bhoomi Reddy
Thanks Matt and Yavar for the suggestion. Now I have fixed the issue. For others benefit, the issue was with defining the fields as String. Now I changed them to text_general. Also, instead of indexing these individual fields, I created corresponding copyFields for each of them, where dest field

Re: Search in Solr Index

2015-04-20 Thread Yavar Husain
There might be issues with your default search field. Suppose if you are searching field named "MyTestField" then give your query as MyTestField:Birmingham and see if you get any results. As Matt suggested there might be some issues with the way you have done tokenization/analysis etc. On Mon, A

RE: Search in Solr Index

2015-04-20 Thread Matt Kuiper
What type of field are you using? String? If so try another type, like text_general. I believe with type String the contents are stored in the index exactly as they are inputted into the index. So a search hit will have to match exactly the full value of the field, I assume in your case "Birm

Re: Search in Solr Index

2015-04-20 Thread Vijaya Narayana Reddy Bhoomi Reddy
To add further, initially when I give *.*, numfound returns 14170. After giving a search string, numFound returns 0. Now if I change the search string again back to *.*, numFound still returns to 0. I have to refresh the page completely to see 14170 again when *.* is given as the search string. T