On Sun, Oct 2, 2011 at 2:05 AM, rajannat <rajan...@gmail.com> wrote: > Hi, > I created the index and query for the terms using TermsComponent. I get the > following results: > Query Results: > {responseHeader={status=0,QTime=31},terms={technology_used={tool=3,web=3,0=2,2=2,7=2,70=2,adob=2,ee=2,form=2,j=2}}} > But when searching using terms, I do not get an results of search. > > I tried searching from: > - admin console > - http://localhost:8080/solr/select?q=tool. > > The solrconfig.cml and schema.xml are attached. > Any ideas, what might be missed? [...]
The syntax that you have used for defaultSearchField is not supported. Instead, you should set defaultSearchField to the full-text search field named text, and use copyField directives to copy all fields to be searched to "text", e.g., <copyField source="technology_used" dest="text" /> and so on for other fields. Alternatively, you can explicity specify the field to be searched with q=technology_used:toil Regards, Gora