Hello Mr Mohanty,
Thanks for your inputs.
Based on what you said, I tried out a few stuff and I think following change
fixed the issue:
Modified the schema.xml to change
<defaultSearchField>all</defaultSearchField>
to
<defaultSearchField>technology_used</defaultSearchField>
Thanks again.
Regards,
Kumar



On Sun, Oct 2, 2011 at 2:45 AM, Gora Mohanty-3 [via Lucene] <
ml-node+s472066n3386847...@n3.nabble.com> wrote:

> On Sun, Oct 2, 2011 at 2:05 AM, rajannat <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3386847&i=0>>
> 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
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Search-does-not-give-results-tp3385783p3386847.html
> To unsubscribe from Search does not give results., click 
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3385783&code=cmFqYW5uYXRAZ21haWwuY29tfDMzODU3ODN8MTk3NzY1OTM4>.
>
>


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-does-not-give-results-tp3385783p3388709.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to