Re: Pains upgrading from 1.2 to 1.3, any help appreciated

2008-09-19 Thread Mark Baird
to submit it before. Now maybe I can come up with a clean implementation that I'm not ashamed of submitting :) Thanks for the help. Mark Baird On Fri, Sep 19, 2008 at 2:39 PM, Grant Ingersoll <[EMAIL PROTECTED]>wrote: > > On Sep 19, 2008, at 11:49 AM, Mark Baird wrote: >

Pains upgrading from 1.2 to 1.3, any help appreciated

2008-09-19 Thread Mark Baird
eturn new OrdFieldSource(field.name); } Which I find a little funny. Don't use this deprecated method, use this other method instead, which immediately throws away the extra parameter and just calls the deprecated method anyway? Thanks in advance for any help you can provide. -- Mark Baird

Re: SolrIndexWriter holding reference to deleted file?

2007-12-26 Thread Mark Baird
timestamp field values Document doc = searcher.doc(docId, fields); String timestamp = doc.get(timestampField); request.close(); searcher.close(); return timestamp; } Mark On Dec 26, 2007 11:26 AM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Dec 26, 2007 11:1

Re: SolrIndexWriter holding reference to deleted file?

2007-12-26 Thread Mark Baird
No I'm not using embedded Solr. It kind of sounds like the reference counts aren't being maintained properly in an embedded environment. Mark On Dec 26, 2007 11:26 AM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Dec 26, 2007 11:16 AM, Mark Baird <[EMAIL PROTECTED]> w

Re: SolrIndexWriter holding reference to deleted file?

2007-12-26 Thread Mark Baird
rote: > > Yes I'm using Solr 1.2. I made a typo in the subject of the thread though, > I > believe it is SolrIndexSearcher, not SolrIndexWriter, that is holding the > reference... Did you find a solution to it? Can you give me the url to > your > thread? > > >

Re: SolrIndexWriter holding reference to deleted file?

2007-12-26 Thread Mark Baird
Just noticed this thread. The issue you are seeing looks identical to the one I am seeing. I started a thread about this same issue on Monday. Are you also running Solr 1.2? On Dec 20, 2007 8:20 AM, amamare <[EMAIL PROTECTED]> wrote: > > I have an application consisting of three web applicatio

Re: An observation on the "Too Many Files Open" problem

2007-12-26 Thread Mark Baird
commit at the end of your whole > batch. Lowering the mergeFactor is the right thing to do. Out of > curiosity, are you using a single instance of Solr for both indexing and > searching? > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > -

An observation on the "Too Many Files Open" problem

2007-12-24 Thread Mark Baird
er that sets it to false. Any insight here would be appreciated. Are stale file handles something I should just expect from the JVM? I've never ran into the "Too Many Files Open" exception before, so this is my first time looking at the lsof command. Perhaps I'm reading too much into the data it's showing me. Mark Baird

Grouping multiValued fields

2007-11-22 Thread Mark Baird
Let's say I have a class Item that has a collection of Sell objects. Sell objects have two properties sellingTime (Date) and salesPerson (String). So in my Solr schema I have something like the following fields defined: An add might look like the following: 1 2007-11-23T23:01:00Z