Re: Solr - search queries not returning results

2011-06-29 Thread Ahmet Arslan

 I believe I am missing something very elementary. The
 following query
 returns zero hits:
 
 http://localhost:8983/solr/core0/select/?q=testabc

With this URL, you are hitting the RequestHandler defined as requestHandler 
name= default=true / in your core0/conf/solrconfig.xml.

 However, using solritas, it finds many results:
 
 http://localhost:8983/solr/core0/itas?q=testabc

With this one, you are hitting the one registered as requestHandler 
name=/itas 

 Do you have any idea what the issue may be?

Probably they have different default parameters configured. 

For example (e)dismax versus lucene query parser. lucene query parser searches 
testabc in your default field. dismax searches it in all of the fields defined 
in qf parameter.

You can see the full parameter list by appending echoParams=all to your search 
URL.


Re: Solr - search queries not returning results

2011-06-29 Thread Walter Closenfleight
Thanks to both of you, I understand now and am now getting the expected
results.

Cheers!

On Wed, Jun 29, 2011 at 2:21 AM, Ahmet Arslan iori...@yahoo.com wrote:


  I believe I am missing something very elementary. The
  following query
  returns zero hits:
 
  http://localhost:8983/solr/core0/select/?q=testabc

 With this URL, you are hitting the RequestHandler defined as
 requestHandler name= default=true / in your
 core0/conf/solrconfig.xml.

  However, using solritas, it finds many results:
 
  http://localhost:8983/solr/core0/itas?q=testabc

 With this one, you are hitting the one registered as requestHandler
 name=/itas

  Do you have any idea what the issue may be?

 Probably they have different default parameters configured.

 For example (e)dismax versus lucene query parser. lucene query parser
 searches testabc in your default field. dismax searches it in all of the
 fields defined in qf parameter.

 You can see the full parameter list by appending echoParams=all to your
 search URL.



Re: Solr - search queries not returning results

2011-06-28 Thread Tomás Fernández Löbbe
Hi Walter, probably solritas is using Dismax with a set of fields on the
qf parameter, while with your first query, you are just querying to the
default field.


On Tue, Jun 28, 2011 at 5:07 PM, Walter Closenfleight 
walter.p.closenflei...@gmail.com wrote:

 Hello everyone,

 I believe I am missing something very elementary. The following query
 returns zero hits:

 http://localhost:8983/solr/core0/select/?q=testabc

 However, using solritas, it finds many results:

 http://localhost:8983/solr/core0/itas?q=testabc

 Do you have any idea what the issue may be?

 Thanks in advance!