Re: querying in Java

2011-05-02 Thread Anuj Kumar
lue Tuesday > > I have tried a query string of "blue&Tuesday", with no success. > > > > -Original Message- > From: Anuj Kumar [mailto:anujs...@gmail.com] > Sent: Friday, April 29, 2011 2:10 PM > To: solr-user@lucene.apache.org > Subject: Re: que

Re: querying in Java

2011-05-02 Thread Otis Gospodnetic
pache.org > Sent: Mon, May 2, 2011 1:24:52 PM > Subject: RE: querying in Java > > This worked. Thank you. > > What if I want to query for two or more field's values. For example: > Field color dayOf Week > > Value blue Tuesday > > I have tr

RE: querying in Java

2011-05-02 Thread Saler, Jeff
..@gmail.com] Sent: Friday, April 29, 2011 2:10 PM To: solr-user@lucene.apache.org Subject: Re: querying in Java Hi Jeff, In that case, you can create a new index field (set indexed to true and stored to false) and copy all your fields to it using copyField. Also make this new field as your default

Re: querying in Java

2011-04-29 Thread Anuj Kumar
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...@gmail.com] > Sent: Friday, April 29, 2011 1:51 PM > To: solr-user@lucene.apache.org > Subject: Re: quer

Re: querying in Java

2011-04-29 Thread Rob Casson
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...@gmail.com] > Sent: Friday, April 29, 2011 1:51 PM > To: solr-user@lucene.apache.org > Subject: Re: querying in Java >

RE: querying in Java

2011-04-29 Thread Saler, Jeff
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...@gmail.com] Sent: Friday, April 29, 2011 1:51 PM To: solr-user@lucene.apache.org Subject: Re: querying in Java Hi Jeff, In that case, it

Re: querying in Java

2011-04-29 Thread Anuj Kumar
Hi Jeff, In that case, it 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,

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