RE: querying in Java

2011-05-02 Thread Saler, Jeff
search field. This will handle your case. Regards, Anuj On Fri, Apr 29, 2011 at 11:36 PM, Saler, Jeff wrote: > Thanks for the reply. What I want is for the query to search all fields > for the specified value. > > -Original Message- > From: Anuj Kumar [mailto:anujs...@g

RE: querying in Java

2011-04-29 Thread Saler, Jeff
will query w.r.t default field. What is your default search field in the schema? Regards, Anuj On Fri, Apr 29, 2011 at 11:10 PM, Saler, Jeff wrote: > Is there any way to query for data that is in any field, i.e. not using > a specific field name? > > > > For example, when I

querying in Java

2011-04-29 Thread Saler, Jeff
Is there any way to query for data that is in any field, i.e. not using a specific field name? For example, when I use the following statements: SolrQuery query = new SolrQuery(); Query.setQuery("ANALYST:John Schummers"); QueryResponse rsp = server