Hi Cam,

Unless I'm misunderstanding your question, you should be able to do that pretty 
just like you typed it.
If you enter that on Solr /admin page, do you get an error or do you not get 
the desired results?  If you add &debugQuery=true to the URL, you will see what 
query is getting executed.


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


----- Original Message ----
> From: Cam Bazz <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Thursday, June 5, 2008 4:14:30 PM
> Subject: solr query syntax
> 
> Hello,
> 
> how can we specify in query so it will just bring certain field and query in
> the default field?
> 
> for example can I do a
> 
> year:1998 AND searchword
> 
> Best Regards,
> -C.B.

Reply via email to