Re: how to retrieve all the documents in an index?

2007-08-19 Thread Yu-Hui Jin
BTW, Hoss, is there a default order for the documents returned by running this query? thanks, -Hui On 8/16/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > : Any of you know whether the new "q:*.*" query performs better than the > : get-around solutions like using a ranged query? I would

Re: Re[4]: Start up script for solr?

2007-08-19 Thread Peter Manis
Sorry about that, I left out the 2nd dash when I added it to the blog. Glad it is working now On 8/19/07, Jack L <[EMAIL PROTECTED]> wrote: > Actually it's --stop. Thanks! > > > Interesting, it worked fine on the server. Try moving the -stop at > > the end of the line to just before the -jar. >

Re[4]: Start up script for solr?

2007-08-19 Thread Jack L
Actually it's --stop. Thanks! > Interesting, it worked fine on the server. Try moving the -stop at > the end of the line to just before the -jar. > - Pete

Re[4]: Start up script for solr?

2007-08-19 Thread Jack L
Sorry. If I move it to before -jar, I get: Unrecognized option: -stop Could not create the Java virtual machine. Sunday, August 19, 2007, 12:35:00 PM, you wrote: > Interesting, it worked fine on the server. Try moving the -stop at > the end of the line to just before the -jar. > - Pete > On

Re[4]: Start up script for solr?

2007-08-19 Thread Jack L
If I remove -stop, it'll start another instance or solr and it will fail because the port has been taken by the first solr instance ... -- Best regards, Jack Sunday, August 19, 2007, 12:35:00 PM, you wrote: > Interesting, it worked fine on the server. Try moving the -stop at > the end of the

RE: How to read values of a field efficiently

2007-08-19 Thread Ard Schrijvers
Hello, > > On Mon, 2007-07-30 at 00:30 -0700, Chris Hostetter wrote: > > : Is it possible to get the values from the ValueSource (or from > > : getFieldCacheCounts) sorted by its natural order (from lowest to > > : highest values)? > > > > well, an inverted term index is already a data structure

Re: Re[2]: Start up script for solr?

2007-08-19 Thread Peter Manis
Interesting, it worked fine on the server. Try moving the -stop at the end of the line to just before the -jar. - Pete On 8/19/07, Jack L <[EMAIL PROTECTED]> wrote: > Hello Peter, > > Many thanks! > > solr.start works fine but I'm getting an error with solr.stop and solr is not > being stopped:

Re: Start up script for solr?

2007-08-19 Thread Peter Manis
I forgot to mention, that is for a RHEL box, but can easily be adapted. It will work like the standard scripts for RHEL /etc/init.d/solr start /etc/init.d/solr stop /etc/init.d/solr restart or you can just run the solr.start and solr.stop scripts individually On 8/19/07, Peter Manis <[EMAIL PRO

Re: Start up script for solr?

2007-08-19 Thread Peter Manis
I blogged about it last month, here ya go. http://www.digital39.com/programming/solr-chkconfig-and-startstop-scripts/2007/07/304/ - Pete On 8/19/07, Jack L <[EMAIL PROTECTED]> wrote: > Hi, > > Sorry that this is not strictly a solr specific question - > > I wonder if anyone has a script to star

Start up script for solr?

2007-08-19 Thread Jack L
Hi, Sorry that this is not strictly a solr specific question - I wonder if anyone has a script to start solr on Linux when the system boots up? Or better yet, supports shutdown and restart? -- Thanks, Jack

Re: How to read values of a field efficiently

2007-08-19 Thread Martin Grotzke
On Mon, 2007-07-30 at 00:30 -0700, Chris Hostetter wrote: > : Is it possible to get the values from the ValueSource (or from > : getFieldCacheCounts) sorted by its natural order (from lowest to > : highest values)? > > well, an inverted term index is already a data structure listing terms > from l

Custom Sorting

2007-08-19 Thread Narayanan Palasseri
Hi All, Currently we are having an application which uses Lucene for text search and we are in the process of migrating to Solr. In our Lucene code we have the following way of using the sort criteria Sort sort = new Sort(new SortField[] { SortField.FIELD_SCORE, new SortField(customValue,