Re: index browsing with solr

2007-02-24 Thread Ryan McKinley
On 2/24/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Feb 24, 2007, at 6:26 AM, Erik Hatcher wrote: > > On Feb 24, 2007, at 3:36 AM, Pierre-Yves LANDRON wrote: > >>> it will be easy to add. take a look at a simple SolrRequestHandler: >>> >>> http://svn.apache.org/repos/asf/lucene/solr/trunk/s

Re: index browsing with solr

2007-02-24 Thread Erik Hatcher
On Feb 24, 2007, at 6:26 AM, Erik Hatcher wrote: On Feb 24, 2007, at 3:36 AM, Pierre-Yves LANDRON wrote: it will be easy to add. take a look at a simple SolrRequestHandler: http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/ apache/solr/handler/IndexInfoRequestHandler.java t

Re: multiValued field ordering

2007-02-24 Thread Yonik Seeley
On 2/24/07, Brian Whitman <[EMAIL PROTECTED]> wrote: Is there any guarantee that if I add a doc like one two three four that they will always come back in the same order during queries? Yes, order is always maintained. -Yonik

multiValued field ordering

2007-02-24 Thread Brian Whitman
Is there any guarantee that if I add a doc like one two three four that they will always come back in the same order during queries? I don't ever need to query the "3rd field value" but when I get a document back in a response I'd like those fields to be in order. Is this going to be the

Re: lots of inserts very fast, out of heap or file descs

2007-02-24 Thread Brian Whitman
On Feb 24, 2007, at 1:26 PM, gmail wrote: do you have a script/data that makes this happen? all you've got to do is apache-solr-nightly/example/exampledocs ryan$ while [ 0 -lt 1 ]; do ./ post.sh hd.xml; done with the request handler pointing to /update. Use # lsof | grep solr | wc -l to

Re: lots of inserts very fast, out of heap or file descs

2007-02-24 Thread gmail
do you have a script/data that makes this happen? I'm on a windows dev box - it does not get "too many open files" but i'll figure it out. ryan

Re: lots of inserts very fast, out of heap or file descs

2007-02-24 Thread Brian Whitman
On Feb 24, 2007, at 1:16 AM, Chris Hostetter wrote: Based on Brain's email, it sounds like it didn't work in *exactly* the same way, because it caused some filedescriptor leaks (and possibly some memory leaks) Hopefully Ryan will be a rock star and spot the probably immediately -- Thank

Re: lots of inserts very fast, out of heap or file descs

2007-02-24 Thread Ryan McKinley
it sounds like we may have a very bad bug in the XmlUpdateRequestHandler I haven't looked at this yet, but if i understand the description, it would have to be a problem with the SolrDispatchFilter and/or the SolrRequestParsers. the part this *is* exactly the same is the XmlUpdateRequestHandl

Re: index browsing with solr

2007-02-24 Thread Erik Hatcher
On Feb 24, 2007, at 3:36 AM, Pierre-Yves LANDRON wrote: it will be easy to add. take a look at a simple SolrRequestHandler: http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/ apache/solr/handler/IndexInfoRequestHandler.java this gets the IndexReader and writes out some stuff.

Re: index browsing with solr

2007-02-24 Thread Pierre-Yves LANDRON
Lucene does it throught the terms method from the class IndexReader, I think : abstract TermEnum terms(Term t) : Returns an enumeration of all terms after a given term. Does an implementation of this method exists in solr ? You can get this functionality from the current faceting imple

Re: index browsing with solr

2007-02-24 Thread Pierre-Yves LANDRON
it will be easy to add. take a look at a simple SolrRequestHandler: http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/handler/IndexInfoRequestHandler.java this gets the IndexReader and writes out some stuff. thanks ! i will look at it. This handler is not accessible f