lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: solr sorting problem
Date Mon, 02 May 2011 12:40:42 GMT
Your query is going against the default field (defined in schema.xml). Have
you tried a fielded search?

And it would best to start a new thread for new questions see:
http://people.apache.org/~hossman/#threadhijack

Best
Erick

On Mon, May 2, 2011 at 3:46 AM, Pratik <pratik_dwivedi@yahoo.com> wrote:
> Hi,
> Thanks for your reply.
>
> I'm, using "commit=true" while indexing, and it does index the records and
> show the number of records indexed.
> The problem is that search yields 0 records ( numFound="0" ).
>
> e.g.
> <response><lst name="responseHeader"><int name="status">0</int><int
> name="QTime">0</int><lst name="params"><str name="indent">on</str><str
> name="q">appl</str></lst></lst><result name="response" numFound="0"
> start="0"/></response>
>
> There are some entries for spell checking in my schema too.
> e.g.
> <field name="f_spell_en" type="textSpell_en"/>
> <copyField source="foodDescUS" dest="f_spell_en"/>
>
> The Search URL is something like:-
> http://localhost:8983/solr/select/?q=apple&indent=on
> http://localhost:8983/solr/select/?q=apple&version=2.2&start=0&rows=10&indent=on
>
> Cache could not be a problem as it did not fetch any records from the very
> begining.
>
> So, basically it does not fetch any documents/records whereas it does index
> them.
>
> Thanks
> Pratik
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889075.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
View raw message