Re: Got it working! And some questions

2006-09-13 Thread Chris Hostetter
: SolrQueryParser now knows nothing about the default operator, it is : set from QueryParsing.parseQuery() when passed a SolrParams. i didn't test it, but it looks clean to me. the only other thing i would do is beaf up the javadocs for SolrQueryParser (to clarify that IndexSchema is only used f

Re: Got it working! And some questions

2006-09-13 Thread Erik Hatcher
On Sep 12, 2006, at 4:47 PM, Chris Hostetter wrote: : I've implemented the ability to override the default operator with : q.op=AND|OR. The patch is pasted below for your review. if i'm reading that right, one subtlety is that "new SolrQueryParser(schema,field)" no longer pas attention to sche

Re: Got it working! And some questions

2006-09-12 Thread Chris Hostetter
: I've implemented the ability to override the default operator with : q.op=AND|OR. The patch is pasted below for your review. if i'm reading that right, one subtlety is that "new SolrQueryParser(schema,field)" no longer pas attention to schema.getQueryParserDefaultOperator() -- that only only b

Re: Got it working! And some questions

2006-09-12 Thread Erik Hatcher
On Sep 11, 2006, at 2:52 PM, Yonik Seeley wrote: On 9/11/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Sep 10, 2006, at 10:47 PM, Michael Imbeault wrote: > I'm still a little disappointed that I can't change the OR/AND > parsing by just changing some parameter (like I can do for the > numbe

Re: Got it working! And some questions

2006-09-11 Thread Chris Hostetter
: Maybe something like q.op or q.oper if it *only* applies to q. Which : begs the question... what *does* it apply to? At first blush, it : doesn't seem like it should apply to other queries like fq, facet : queries, and esp queries defined in solrconfig.xml. I think that : would be very surpri

Re: Got it working! And some questions

2006-09-11 Thread Yonik Seeley
On 9/11/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Sep 10, 2006, at 10:47 PM, Michael Imbeault wrote: > I'm still a little disappointed that I can't change the OR/AND > parsing by just changing some parameter (like I can do for the > number of results returned, for example); adding a OR bet

Re: Got it working! And some questions

2006-09-11 Thread Michael Imbeault
Hello Erik, Thanks for add that feature! "do" is fine with me, if "op" is already used (not sure about this one). Erik Hatcher wrote: On Sep 10, 2006, at 10:47 PM, Michael Imbeault wrote: I'm still a little disappointed that I can't change the OR/AND parsing by just changing some parameter

Re: Got it working! And some questions

2006-09-11 Thread Erik Hatcher
On Sep 10, 2006, at 10:47 PM, Michael Imbeault wrote: I'm still a little disappointed that I can't change the OR/AND parsing by just changing some parameter (like I can do for the number of results returned, for example); adding a OR between each word in the text i want to compare sounds s

Re: Got it working! And some questions

2006-09-11 Thread Yonik Seeley
On 9/9/06, Michael Imbeault <[EMAIL PROTECTED]> wrote: The main problem was that addIndex was sending 1 doc at a time to solr; it would cause a problem after a few thousand docs because i was running out of resources. Sending one doc at a time should be fine... you shouldn't run out of resource

Re: Got it working! And some questions

2006-09-10 Thread Chris Hostetter
: First of all, it seems the mailing list is having some troubles? Some of : my posts end up in the wrong thread (even new threads I post), I don't : receive them in my mail, and they're present only in the 'date archive' : of http://www.mail-archive.com, and not in the 'thread' one? I don't : rec

Re: Got it working! And some questions

2006-09-10 Thread Michael Imbeault
First of all, it seems the mailing list is having some troubles? Some of my posts end up in the wrong thread (even new threads I post), I don't receive them in my mail, and they're present only in the 'date archive' of http://www.mail-archive.com, and not in the 'thread' one? I don't receive so

Re: Got it working! And some questions

2006-09-10 Thread Chris Hostetter
: - What is the loadFactor variable of HashDocSet? Should I optimize it too? this is the same as the loadFactor in a HashMap constructor -- but i don't think it has much affect on performance since the HashDocSets never "grow". I personally have never tuned the loadFactor :) : - What's the unit

Re: Got it working! And some questions

2006-09-09 Thread James liu
- Is the solr php in the wiki working out of the box for anyone? show your php.ini. did you performance your php? 2006/9/10, Brian Lucas <[EMAIL PROTECTED]>: Hi Michael, I apologize for the lack of testing on the SolPHP. I had to "strip" it down significantly to turn it into a general clas

RE: Got it working! And some questions

2006-09-09 Thread Brian Lucas
Hi Michael, I apologize for the lack of testing on the SolPHP. I had to "strip" it down significantly to turn it into a general class that would be usable and the version up there has not been extensively tested yet (I'm almost ready to get back to that and "revise" it), plus much of my coding is