Re: SolJ and query parameters

2010-01-07 Thread Ryan McKinley
On Jan 7, 2010, at 1:05 PM, Jon Poulton wrote: I've also just noticed that QueryParsing is not in the SolrJ API. It's in one of the other Solr jar dependencies. I'm beginning to think that maybe the best approach it to write a query string generator which can generate strings of the form:

RE: SolJ and query parameters

2010-01-07 Thread Ahmet Arslan
> Using SolrQuery.setQuery("{!lucene q.op=AND > df=text}myfield:foo +bar -baz}"); would make more sense if > it were not for the other methods available on SolrQuery. > > For example, there is a "setFields(String..)" method. So > what happens if I call setFields("title", "description") > after ha

RE: SolJ and query parameters

2010-01-07 Thread Jon Poulton
ubject: Re: SolJ and query parameters --- On Thu, 1/7/10, Jon Poulton wrote: > From: Jon Poulton > Subject: SolJ and query parameters > To: "'solr-user@lucene.apache.org'" > Date: Thursday, January 7, 2010, 7:25 PM > Hi there, > I'm trying to unde

RE: SolJ and query parameters

2010-01-07 Thread Jon Poulton
Cheers Jon -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: 07 January 2010 17:38 To: solr-user@lucene.apache.org Subject: Re: SolJ and query parameters --- On Thu, 1/7/10, Jon Poulton wrote: > From: Jon Poulton > Subject: SolJ and query parameters >

Re: SolJ and query parameters

2010-01-07 Thread Ahmet Arslan
--- On Thu, 1/7/10, Jon Poulton wrote: > From: Jon Poulton > Subject: SolJ and query parameters > To: "'solr-user@lucene.apache.org'" > Date: Thursday, January 7, 2010, 7:25 PM > Hi there, > I'm trying to understand how the query syntax specified

SolJ and query parameters

2010-01-07 Thread Jon Poulton
Hi there, I'm trying to understand how the query syntax specified on the Solr Wiki ( http://wiki.apache.org/solr/SolrQuerySyntax ) fits in with the usage of the SolJ class SolrQuery. There are not too many examples of usage to be found. For example. Say I wanted to replicate the following query