Re: Queries of type field:value not functioning

2010-01-14 Thread Otis Gospodnetic
Siddhant,

Check the enhanced dismax patch in JIRA if you need fielded queries to work 
with dismax.

Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch



- Original Message 
 From: Siddhant Goel siddhantg...@gmail.com
 To: solr-user@lucene.apache.org
 Sent: Wed, January 13, 2010 11:09:12 PM
 Subject: Re: Queries of type field:value not functioning
 
 Hi,
 
 Thanks for the responses.
 q.alt did the job. Turns out that the dismax query parser was at fault, and
 wasn't able to handle queries of the type *:*. Putting the query in q.alt,
 or adding a defType=lucene (as pointed out to me on the irc channel) worked.
 
 Thanks,
 
 
 -- 
 - Siddhant



Re: Queries of type field:value not functioning

2010-01-13 Thread Chantal Ackermann

try /solr/select?q.alt=*:*qt=dismax
or /solr/select?q=some search termqt=dismax

dismax should be configured in solrconfig.xml by default, but you have 
to adapt it to list the fields from your schema.xml


and for anything with known field:
/solr/select?q=field:valueqt=standard

Cheers,
Chantal



Siddhant Goel schrieb:

Hi all,

Any query I make which is of type field:value does not return any documents.
Same is the case for the *:* query. The *:* query doesn't return any result
either. The index size is close to 1GB now, so it should be returning some
documents. The rest of the queries are functioning properly. Any help?

Thanks,

--
- Siddhant




Re: Queries of type field:value not functioning

2010-01-13 Thread Otis Gospodnetic
Hi,

Pointers:
* What happens when you don't use a field name?
* What are your logs showing?
* What is debugQuery=on showing?
* What is the Analysis page for some of the problematic queries showing?

Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch





From: Siddhant Goel siddhantg...@gmail.com
To: solr-user@lucene.apache.org
Sent: Wed, January 13, 2010 5:38:53 AM
Subject: Queries of type field:value not functioning

Hi all,

Any query I make which is of type field:value does not return any documents.
Same is the case for the *:* query. The *:* query doesn't return any result
either. The index size is close to 1GB now, so it should be returning some
documents. The rest of the queries are functioning properly. Any help?

Thanks,

-- 
- Siddhant


Re: Queries of type field:value not functioning

2010-01-13 Thread Siddhant Goel
Hi,

Thanks for the responses.
q.alt did the job. Turns out that the dismax query parser was at fault, and
wasn't able to handle queries of the type *:*. Putting the query in q.alt,
or adding a defType=lucene (as pointed out to me on the irc channel) worked.

Thanks,


-- 
- Siddhant