Multiple uniqueKey fields

2007-11-13 Thread Dave C .
Hello, I just started using Solr and have a question regarding unique keys. Is it somehow possible to specify more than 1 unique key? The problem is, some of my indexed data has one particular unique field, while other data does not have this field at all and uses another field for unique-ness. An

RE: Multiple uniqueKey fields

2007-11-13 Thread Dave C .
UniqueuField; > > If one of them is always guaranteed to be unique you should be fine. > > - will > > -Original Message- > From: Dave C. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 13, 2007 2:07 PM > To: solr-user@lucene.apache.org > Subject: Multiple

Solr java tutorial

2007-11-13 Thread Dave C .
Hi everyone, My next question is: is there a beginner's tutorial on how to programmatically query solr? I have seen some users' do things like: SolrServer server = getSolrServer(); SolrQuery solrQuery = new SolrQuery(); solrQuery.setQuery(..); QueryResponse rs

RE: Solr java tutorial

2007-11-13 Thread Dave C .
If you are using eclipse (or similar), after typing "solrQuery." you > should get a drop down of all the available options - i find this > invaluable for learning what is possible. > > ryan > > > > Dave C. wrote: > > Hi everyone, > > > > M

RE: Solr java tutorial

2007-11-13 Thread Dave C .
Ah... :( Is there a timeline for the 1.3 release? - david > Date: Tue, 13 Nov 2007 18:33:01 -0500 > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: Re: Solr java tutorial > > Dave C. wrote: > > I'm really confused...is SolrJ coming i

Embedded Solr

2007-11-13 Thread Dave C .
Hello again, This is a horribly newbie question, but what exactly is meant by "embedded solr"? Thanks a lot, David _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/

'version' query parameter

2007-11-14 Thread Dave C .
Hello, How does the 'version' parameter work in a solr query? I couldn't find anything in the wikis. For example: http://localhost:8080/solr/select/?q=test&version=2.2&start=0&rows=10&indent=on Thanks, David _ Help yourself to FREE

Query multiple fields

2007-11-17 Thread Dave C .
Hello, I've been trying to figure out how to query multiple fields at a time. For example, I want to do something like: description:test AND type:10. I've tried things like: "?q=description:test&type:10" etc, but I keep getting syntax errors. Can anyone tell me how this can be done? Thanks, Dav

RE: Query multiple fields

2007-11-17 Thread Dave C .
it would probably be wise to wrap any text in parenthesis: > > description:(test foo bar baz) AND type:10 > > You can find more info on the query syntax here: > http://lucene.apache.org/java/docs/queryparsersyntax.html > -Nick > On 11/18/07, Dave C. <[EMAIL PROTECTED]> wro

RE: Query multiple fields

2007-11-17 Thread Dave C .
t; You had it write in your example :) > > > > description:test AND type:10 > > > > But it would probably be wise to wrap any text in parenthesis: > > > > description:(test foo bar baz) AND type:10 > > > > You can find more info on the query syntax he

RE: Query multiple fields

2007-11-18 Thread Dave C .
27;t use an '&' symbol in your query (without escaping it). The boolean > operator for 'and' in Lucene is 'AND': and it is case sensitive. Your query > should probably look like: > > > q=description:test AND -type:10 AND -type:14 > > See the Lu

RE: Query multiple fields

2007-11-18 Thread Dave C .
okay thanks for the details - David > Date: Sun, 18 Nov 2007 22:14:23 -0500 > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: Re: Query multiple fields > > On Nov 18, 2007 9:58 PM, Dave C. <[EMAIL PROTECTED]> wrote: > > According to the

Pagination with Solr

2007-11-19 Thread Dave C .
Hello again, I'm trying to accomplish very basic pagination with my Solr search results. What I'm trying is to parse the response for "numFound:" and if this number is greater than the "rows" parameter, I send another search request to Solr with a new "start" parameter. Is there a better way to

Tips for searching

2007-11-30 Thread Dave C .
Hello, I was wondering if someone could offer some suggestions for a problem I am having. When I perform a query on a field using a single character, I get no results back: for example, if i search on the "description" field for the character 'a', i.e. (description:a), I get no results back.

RE: Tips for searching

2007-11-30 Thread Dave C .
these cases be taken care of by the StopFilterFactory? > > Thanks, > david > > > > From: [EMAIL PROTECTED] > > Subject: Re: Tips for searching > > Date: Fri, 30 Nov 2007 16:40:41 -0800 > > To: solr-user@lucene.apache.org > > > > On 30-Nov-07, a

RE: Tips for searching

2007-11-30 Thread Dave C .
s, david > From: [EMAIL PROTECTED] > Subject: Re: Tips for searching > Date: Fri, 30 Nov 2007 16:40:41 -0800 > To: solr-user@lucene.apache.org > > On 30-Nov-07, at 4:27 PM, Dave C. wrote: > > > When I perform a query on a field using a single character, I get > >

Meaning of "max clauses 1024" error

2007-12-17 Thread Dave C .
Hello, I'm curious as to the meaning of a certain exception I am receiving. If i try a query such as "*", I get an exception which basically says there is a maximum of 1024 clauses for a BooleanQuery. However, if I enter "*:*" it matches all documents and returns them. Can someone explain to me