On 1/22/2013 7:32 AM, hassancrowdc wrote:
Hi, I have indexed data from mysql database to solr. Indexing is successful everything is woring ok but when i query through the fields of my table i can only query from one field none of the rest are giving me any resultset(numFound comes out to be 0) any idea how i can fix t or where should i look for problem? I have seen logs it does not show anything happen.
We'll need your schema.xml, solrconfig.xml, dataconfig.xml, the field name, the exact value of that field as presented to Solr for indexing, and the exact query string you are using. A full XML query response with debugQuery=true, indent=true, and echoParams=all would be awesome.
If you need to sanitize the data to remove passwords and other identifying information, please do so in a way that doesn't make it impossible to determine what we're looking at. It's usually best to include the entire XML file so we don't have to ask for more information. Use a site like pastie.org, pastebin.com, or your favorite paste site.
It's best if you don't use quotes when giving information unless there actually are quotes in the real values.
Thanks, Shawn