Re: questions on query format

2011-10-24 Thread Ahmet Arslan
 2. If send solr the following query:
   q=*:*
 
   I get nothing just:
    responseresult
 name=response numFound=0 start=0
 maxScore=0.0/lst
 name=highlighting//response
 
 Would appreciate some insight into what is going on.

If you are using dismax as query parser, then *:* won't function as match all 
docs query. To retrieve all docs - with dismax - use q.alt=*:* parameter. Also, 
adding debugQuery=on will display information about parsed query.


Re: questions on query format

2011-10-24 Thread Memory Makers
Thanks,

?q.alt=*:* worked for me -- how do I make sure that the standard query
parser is configured.

Thanks.

MM.


On Mon, Oct 24, 2011 at 2:47 AM, Ahmet Arslan iori...@yahoo.com wrote:

  2. If send solr the following query:
q=*:*
 
I get nothing just:
 responseresult
  name=response numFound=0 start=0
  maxScore=0.0/lst
  name=highlighting//response
 
  Would appreciate some insight into what is going on.

 If you are using dismax as query parser, then *:* won't function as match
 all docs query. To retrieve all docs - with dismax - use q.alt=*:*
 parameter. Also, adding debugQuery=on will display information about parsed
 query.



Re: questions on query format

2011-10-24 Thread Ahmet Arslan
 ?q.alt=*:* worked for me -- how do I make sure that the
 standard query
 parser is configured.

You can append defType=lucene to your search URL. 

More permanent way is to default defType parameter in solrconfig.xml.


questions on query format

2011-10-23 Thread Memory Makers
Hi,

I've spent quite some time reading up on the query format and can't seem to
solve this problem:

1. If send solr the following query:
  q={!lucene}profile_description:*

  I get what I would expect.

2. If send solr the following query:
  q=*:*

  I get nothing just:
   responseresult name=response numFound=0 start=0
maxScore=0.0/lst name=highlighting//response

Would appreciate some insight into what is going on.

Thanks.