Num docs

2008-06-07 Thread Marcus Herou
Hi. Is there a way of retrieve IndexWriter.numDocs() in SOLR ? Kindly //Marcus -- Marcus Herou CTO and co-founder Tailsweep AB +46702561312 [EMAIL PROTECTED] http://www.tailsweep.com/ http://blogg.tailsweep.com/

Re: Num docs

2008-06-07 Thread Otis Gospodnetic
Marcus, check out the Luke request handler. You can get it from its output. It may also be possible to get *just* that number, but I'm not looking at docs/code right now to know for sure. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From:

add new fields to existing index

2008-06-07 Thread Kevin Xiao
Hi, We have a huge existing index (~40G), and we decided to add more fields on the top of it from a different source. Say, I have a index with UniqueKey, FieldA, FieldB, FieldC, I want to add FieldD to it, so I create a document with UniqueKey, FieldD and do a solr commit. By doing that is it

Re: Num docs

2008-06-07 Thread Marcus Herou
Thanks, I wanna ask the indices how much more each shard can handle before they're considered full and scream for a budget to get a new machine :) /M On Sat, Jun 7, 2008 at 3:07 PM, Otis Gospodnetic [EMAIL PROTECTED] wrote: Marcus, check out the Luke request handler. You can get it from its

Problems in solrJ trunk

2008-06-07 Thread Alexander Ramos Jardim
Hello, Shouldn't SolrServer be an interface that externalizes the signatures for classes like CommonsHttpSolrServer, like it was in solr-1.2? Why did it became an abstract class? I can't see any benefit from it, as now I need to type the object as CommonsHttpSolrServer directly. I think it is

Re: Num docs

2008-06-07 Thread Otis Gospodnetic
Marcus, For that you can rely on du, vmstat, iostat, top and such, too. :) Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Marcus Herou [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Saturday, June 7, 2008 12:33:10 PM Subject:

RE: Num docs

2008-06-07 Thread Lance Norskog
This appears in the stats.jsp page. Both the total of document 'slots' and the number of live documents. -Original Message- From: Marcus Herou [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2008 2:09 AM To: solr-user@lucene.apache.org Subject: Num docs Hi. Is there a way of

XSL scripting

2008-06-07 Thread Norskog, Lance
This started out in the num-docs thread, but deserves its own. And a wiki page. There is a more complex and general way to get the number documents in the index. I run a query against solr and postprocess the output with an XSL script. Install this xsl script as home/conf/xslt/numfound.xsl.

Re: Problems in solrJ trunk

2008-06-07 Thread Ryan McKinley
solrj was not released in 1.2, so the change is not incompatible... The rationalle for abstract class vs interface is more to do with usage and future maintenance. If SolrServer is an interface and solr 1.4 adds methods, there is no way to make it backwards compatible -- as an abstract