Re: First version of solr javascript client to review

2008-07-03 Thread Ryan McKinley
Any thoughts / ideas on how to make formatting and laying out custom results less obtuse? $sj('').html(item.id).appendTo(this.target); seems ok for simple things -- like a list -- but not very designer friendly. ryan On Jul 1, 2008, at 3:00 AM, Matthias Epheser wrote: Hi community, a

Stupid update question

2008-07-03 Thread Alexander Ramos Jardim
Pals, I want to set the field A from my index on all its documents to a given value. How do I do that? -- Alexander Ramos Jardim

"Similarity" of numbers in MoreLikeThisHandler

2008-07-03 Thread wojtekpia
I have a numeric field that I'm using for getting more records like the current one. Does the MoreLikeThisHandler do numeric comparisons on numeric fields (e.g. 4 is "similar" to 5), or is it a string comparison? -- View this message in context: http://www.nabble.com/%22Similarity%22-of-numbers-

Re: Stupid update question

2008-07-03 Thread Ryan McKinley
Not sure exactly what you are asking for -- I'll answer a few versions: Do you have an existing index and want to change the field "A" to "duck" for every document? If so, there is no way to do that off the shelf -- check SOLR-139 for an option (but the current patch will not work) Do yo

Big slowdown with phrase queries

2008-07-03 Thread Chris Harris
I was just running some performance tests against my Solr instance (using the standard query language), and I discovered a shocking (at least to me) speed difference between queries involving phrase queries (i.e. stuff between quotation marks) and ones that don't. For instance, here are some log s

Re: Big slowdown with phrase queries

2008-07-03 Thread Yonik Seeley
On Thu, Jul 3, 2008 at 6:04 PM, Chris Harris <[EMAIL PROTECTED]> wrote: > Now I gather that phrase queries are inherently slower than non-phrase > queries, but 1-3 orders of magnitude difference seems noteworthy. Phrase queries could be a couple times slower, but normally not to the degree you sho

Re: Big slowdown with phrase queries

2008-07-03 Thread Mike Klaas
On 3-Jul-08, at 3:04 PM, Chris Harris wrote: Now I gather that phrase queries are inherently slower than non-phrase queries, but 1-3 orders of magnitude difference seems noteworthy. This is on Solr r654965, which I don't think is *too* far behind the trunk version. 1200Mb RAM allocated to Solr

Re: Stupid update question

2008-07-03 Thread Alexander Ramos Jardim
2008/7/3 Ryan McKinley <[EMAIL PROTECTED]>: > Not sure exactly what you are asking for -- I'll answer a few versions: > > Do you have an existing index and want to change the field "A" to "duck" > for every document? If so, there is no way to do that off the shelf -- > check SOLR-139 for an optio

Re: Big slowdown with phrase queries

2008-07-03 Thread Chris Harris
Ok, I only have one segment right now, so I've got one of each of these: .tis file: 730MB .frq files: 9KB .prx file: 26KB If I'm understanding you (and Mike) properly, then even though it's the prx file that contains the actual position info, you can't get to that info quickly unless the tis file

Re: Big slowdown with phrase queries

2008-07-03 Thread Yonik Seeley
On Thu, Jul 3, 2008 at 7:05 PM, Chris Harris <[EMAIL PROTECTED]> wrote: > Ok, I only have one segment right now, so I've got one of each of these: > > .tis file: 730MB > .frq files: 9KB > .prx file: 26KB That's pretty much impossible (way too small). Double check those numbers. > If I'm understa

Re: Slow deleteById request

2008-07-03 Thread Mike Klaas
On 1-Jul-08, at 10:44 PM, Chris Hostetter wrote: : Yes, updating to a newer version of nightly Solr build could solve the : problem, but I am a little afraid to do it since solr-trunk has switched to : lucene 2.4-dev. but did you check wether or not you have maxPendingDeletes configured

Re: Big slowdown with phrase queries

2008-07-03 Thread Chris Harris
On Thu, Jul 3, 2008 at 4:35 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Thu, Jul 3, 2008 at 7:05 PM, Chris Harris <[EMAIL PROTECTED]> wrote: >> Ok, I only have one segment right now, so I've got one of each of these: >> >> .tis file: 730MB >> .frq files: 9KB >> .prx file: 26KB > > That's prett

Re: Big slowdown with phrase queries

2008-07-03 Thread Mike Klaas
On 3-Jul-08, at 5:13 PM, Chris Harris wrote: That's pretty much impossible (way too small). Double check those numbers. I don't know where I got the above numbers. Sorry. Here are the real numbers: .tis file: 730MB .frq files: 10.1 GB .prx file: 43.2 GB Now keeping all *that* in RAM, t

Which parser is used to parse response XML efficientl got from Solr

2008-07-03 Thread Ranjeet
Hi, Which parser is used to parse Response XML got from Solr search server. can you pass sample code if you have. Thanks & Regards, Ranjeet

Re: Which parser is used to parse response XML efficientl got from Solr

2008-07-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
Solr uses StaX API for parsing xml. use org.apache.solr.client.solrj.impl.XMLResponseParser --Noble On Fri, Jul 4, 2008 at 11:13 AM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > Which parser is used to parse Response XML got from Solr search server. can > you pass sample code if you have. > > Tha

Re: Which parser is used to parse response XML efficientl got from Solr

2008-07-03 Thread Ranjeet
which jar file should we include? ranjeet - Original Message - From: "Noble Paul ??? ??" <[EMAIL PROTECTED]> To: Sent: Friday, July 04, 2008 11:38 AM Subject: Re: Which parser is used to parse response XML efficientl got from Solr Solr uses StaX API for parsing xml. use or

Re: Which parser is used to parse response XML efficientl got from Solr

2008-07-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
apache-solr-solrj-1.3-dev.jar apache-solr-common-1.3-dev.jar On Fri, Jul 4, 2008 at 12:19 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > which jar file should we include? > > ranjeet > - Original Message - From: "Noble Paul ??? ??" > <[EMAIL PROTECTED]> > To: > Sent: Friday, July 04, 2