Re: Increment field value

2007-02-01 Thread Chris Hostetter
: Is it possible when updating a numeric field to increment the existing value : instead of replacing it with a new value? it's not currently possible to update a document "in place" at all -- you must provide all of the field values when doing an "update" -- this is largely due to some limitatio

Re: facet.query question

2007-02-01 Thread Erik Hatcher
I meant facet.query, not fq, in the example below. fq is a filter query, whereas filter.query is a, umm, filter.query. Erik On Feb 1, 2007, at 9:19 PM, Erik Hatcher wrote: On Feb 1, 2007, at 7:55 PM, Peter McPeterson wrote: Well, I think I figured it out. It can be used to display

Re: facet.query question

2007-02-01 Thread Erik Hatcher
On Feb 1, 2007, at 9:34 PM, Peter McPeterson wrote: How would you display those formatted strings without having to "hard code" them on a page? Because that's what I'm doing after I process the xml (getting just the count of each faceted query string, putting them into an array and doing li

RE: Posting from Ant

2007-02-01 Thread Binkley, Peter
I've just blogged a set-up that works, based on the foreach and postMethod tasks in the ant-contrib package: http://www.wallandbinkley.com/quaedam/?p=99 . Thanks to Erik, Thorsten and Steve Loughran for guidance on this! I tried the http antlib from the Ant sandbox, but couldn't get it to work.

Re: Indexing RSS

2007-02-01 Thread Erik Hatcher
Speaking of which, I know Yonik paid particular attention the Lucene GData Server when it was under active development. How do you compare Solr to it? Are we getting warmer towards Solr supporting Atom natively? ;) Erik On Feb 1, 2007, at 12:18 PM, rubdabadub wrote: Hello list

solrb documentation (was Re: SV: Re: SOLR-116)

2007-02-01 Thread Erik Hatcher
On Feb 1, 2007, at 6:47 AM, Zaheed Haque wrote: I think trying to tackle two problem (Learning Solr as well as solrb/flare) at the same time is giving the problem. While I was writing the i18n unit test I found out the 100% test cov. thats really cool. Now in terms of docs.. I think it would

Re: INTERNET ARCHIVE goes SOLR!

2007-02-01 Thread Tracey Jaquith
oh, tee hee if if our eternal admiration and gratitude isn't obvious...  8-) i concur, the amount one *can* customize simply from the XML configuration and schema is fantastically impressive!  almost all of the configuration setup it is quick to do in our experience, too --tracey Walter Unde

Re: facet.query question

2007-02-01 Thread Peter McPeterson
Erik, thanks for the reply. Creating ranges and doing stuff like your example is pretty much what I need and its an awesome feature. But I thought Solr would actually return a formatted string like "1980 - 1989 (count)" or "1980 TO 1980 (count)", as based on your example (.. &fq=year:[1980 TO

Re: Trying to debug a solr error

2007-02-01 Thread Chris Hostetter
: I am getting the following error from Solr when my application is deployed : on Tomcat on Redhat, but everything works well on Tomcat on XP. Can anyone : point me in a direction of the cause? FYI: leting us know what action you were performing when an error is triggered is helpful. based on my

RE: facet.query question

2007-02-01 Thread Chris Hostetter
: Well, I think I figured it out. It can be used to display count results of : different facet queries. : : But is it all that it does? pretty much ... it's provided as a simple way to get the facet constraint count for an arbitrary query (or queries) .. facet.field is usefull for simpel token ma

Re: facet.query question

2007-02-01 Thread Erik Hatcher
On Feb 1, 2007, at 7:55 PM, Peter McPeterson wrote: Well, I think I figured it out. It can be used to display count results of different facet queries. But is it all that it does? Yes. This allows for dynamic "facets" based on run-time queries rather than an upfront indexed (and often un

Re: Java client library - SOLR-20

2007-02-01 Thread Erik Hatcher
Actually, Peter, this is another great starting point for some slick Ant task wrappers. We could have a whole set of control tasks that do the optimize, commit, add, delete, and even search. Erik On Feb 1, 2007, at 2:44 PM, Ryan McKinley wrote: #6 solr-client.zip on SOLR-20 is st

RE: facet.query question

2007-02-01 Thread Peter McPeterson
Well, I think I figured it out. It can be used to display count results of different facet queries. But is it all that it does? Peter From: "Peter McPeterson" <[EMAIL PROTECTED]> Reply-To: solr-user@lucene.apache.org To: solr-user@lucene.apache.org Subject: facet.query question Date: Thu, 01

facet.query question

2007-02-01 Thread Peter McPeterson
Hi all, I'm working with faceted search but I can't seem to get the 'facet.query' option. I already read the wiki but still don't understand exactly what it does. Could someone please explain me: - What does it do and how to use it - Why should I use it? - Why shouldn't I use it? Thanks a

Re: Posting from Ant

2007-02-01 Thread Thorsten Scherler
On Thu, 2007-02-01 at 16:48 -0500, Erik Hatcher wrote: > The benefit to having a solution (now I'm beginning to > speak like a Rubyist, eh? Ever toyed with Rake, Peter?) is that you > can handle errors yourself. > > I never really expected the pipeline to be XML files -> XSLT *files* - > >

Re: Posting from Ant

2007-02-01 Thread Erik Hatcher
The benefit to having a solution (now I'm beginning to speak like a Rubyist, eh? Ever toyed with Rake, Peter?) is that you can handle errors yourself. I never really expected the pipeline to be XML files -> XSLT *files* - > HTTP POST -> Solr. The *files* part here is key. Can't ya get y

Re: INTERNET ARCHIVE goes SOLR!

2007-02-01 Thread Walter Underwood
On 1/27/07 1:12 PM, "Tracey Jaquith" <[EMAIL PROTECTED]> wrote: > > * To be fair, Michael StAck (our greatest help for prior SE "life support") > has smartly pointed out that by making a smarter schema and strategy, > I could reduce the number of fields searched from 677 to 5, with the > sam

Re: INTERNET ARCHIVE goes SOLR!

2007-02-01 Thread Tracey Jaquith
Yes, any of our search bars on our site will use Solr. So your example is using Solr.  8-) Otis Gospodnetic wrote: Hi Tracey, Thanks for sharing. Which search exactly is powered by Solr now? http://www.archive.org/search.php?query=middlebury for example? Thanks, Otis - Original Mes

Trying to debug a solr error

2007-02-01 Thread Phil Rosen
I am getting the following error from Solr when my application is deployed on Tomcat on Redhat, but everything works well on Tomcat on XP. Can anyone point me in a direction of the cause? The schemas for the two deployments are identical, but the error persists! Thanks in advance, Phill

Re: Java client library - SOLR-20

2007-02-01 Thread Ryan McKinley
#6 solr-client.zip on SOLR-20 is stable. I am using it successfully in a few installations. I know a few other people are also. The code in: http://svn.lapnap.net/solr/solrj/ Is not as stable, but lets you post arbitrary streams to RequestHandlers ryan On 2/1/07, Leandro Saad <[EMAIL PROTEC

Re: Increment field value

2007-02-01 Thread Luis Neves
I forgot one little detail. The DB server is untouchable. I have "read-only" access to it. The database is a component of an big "enterprisy" CMS. The obvious solution of adding a "#Posts" field to the table updated with a trigger is not viable. We have a ticket open with the vendor, but they

Java client library - SOLR-20

2007-02-01 Thread Leandro Saad
Hi all. Could you tell me whats the status of the Java client? Is it stable? Which one should I download? I'm using apache-solr-1.1.0-incubating. -- Leandro Rodrigo Saad Cruz software developer - certified scrum master :: scrum.com.br :: db.apache.org/ojb :: guara-framework.sf.net :: xingu.sf.ne

Increment field value

2007-02-01 Thread Luis Neves
Hello all, We have a Solr/Lucene index for newspaper articles, those articles have associated comments. When searching for articles we want to present the number of comments per article. What we do now is to fetch from the DB the sum of comments for each articleId that Solr returns, but this i

Fwd: Posting from Ant

2007-02-01 Thread Erik Hatcher
Peter - here's some information on an antlib that does HTTP POST. Though it appears to only post a single file as well, so you'd still need a wrapper iteration to achieve posting of an entire directory of files. Erik Begin forwarded message: From: Steve Loughran <[EMAIL PROTECT

Indexing RSS

2007-02-01 Thread rubdabadub
Hello list: Has anyone tried indexing RSS using SOLR? I am planning on using "RSS/Atom item url" as the "id field"? Bad choice? All the best!

RE: Posting from Ant

2007-02-01 Thread Binkley, Peter
Thanks, I'll try that out. I hope there aren't any encoding issues... Nah, how likely is that? I'll report back. Peter -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 6:38 AM To: solr-user@lucene.apache.org Subject: Fwd: Posting from Ant

Fwd: Posting from Ant

2007-02-01 Thread Erik Hatcher
Ok, we have it on good authority that is the way to go for Ant -> POST -> Solr. Erik Begin forwarded message: From: Steve Loughran <[EMAIL PROTECTED]> Date: February 1, 2007 8:34:33 AM EST To: Erik Hatcher <[EMAIL PROTECTED]> Subject: Re: Posting from Ant On 01/02/07, Erik Hatcher

Re: SV: Re: SOLR-116

2007-02-01 Thread Zaheed Haque
On 2/1/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Jan 30, 2007, at 5:33 AM, Antonio Eggberg wrote: > Erik Hatcher <[EMAIL PROTECTED]> skrev: > So, no, the current information provided by this handler does not > contain frequency information. I'd be happy to consider patches that > allow it