fieldNorm seems to be killing my score

2007-11-01 Thread Robert Young
Hi,

I've been trying to debug why one of my test cases doesn't work. I
have an index with two documents in, one talking mostly about apples
and one talking mostly about oranges (for the sake of this test case)
both of which have 'test_site' in their site field. If I run the query
+(apple^4 orange) +(site:test_site) I would expect the document
which talks about apples to always apear first but it does not.
Looking at the debug output (below) it looks like fieldNorm is killing
the first part of the query. Why is this and how can I stop it?

?xml version=1.0 encoding=UTF-8?
response

lst name=responseHeader
 int name=status0/int
 int name=QTime4/int
 lst name=params
  str name=rows10/str
  str name=start0/str

  str name=indenton/str
  str name=q+(apple^4 orange) +(site:test_site)/str
  str name=debugQueryon/str
  str name=version2.2/str
 /lst
/lst
result name=response numFound=2 start=0
 doc

  str name=guidtest_index-test_site-integration:124/str
  str name=indextest_index/str
  str name=link/oranges/str
  str name=sitetest_site/str
  str name=snippetorange orange orange/str
  str name=titleorange/str

 /doc
 doc
  str name=guidtest_index-test_site-integration:123/str
  str name=indextest_index/str
  str name=link/me/str
  str name=sitetest_site/str
  str name=snippetapple apple apple/str

  str name=titleapple/str
 /doc
/result
lst name=debug
 str name=rawquerystring+(apple^4 orange) +(site:test_site)/str
 str name=querystring+(apple^4 orange) +(site:test_site)/str
 str name=parsedquery+(text:appl^4.0 text:orang) +site:test_site/str
 str name=parsedquery_toString+(text:appl^4.0 text:orang)
+site:test_site/str

 lst name=explain
  str name=id=test_index-test_site-integration:124,internal_docid=13
0.14332592 = (MATCH) sum of:
  0.0 = (MATCH) product of:
0.0 = (MATCH) sum of:
  0.0 = (MATCH) weight(text:orang in 13), product of:
0.24034579 = queryWeight(text:orang), product of:
  1.9162908 = idf(docFreq=5)
  0.1254224 = queryNorm
0.0 = (MATCH) fieldWeight(text:orang in 13), product of:
  2.236068 = tf(termFreq(text:orang)=5)
  1.9162908 = idf(docFreq=5)
  0.0 = fieldNorm(field=text, doc=13)
0.5 = coord(1/2)
  0.14332592 = (MATCH) weight(site:test_site in 13), product of:
0.13407566 = queryWeight(site:test_site), product of:
  1.0689929 = idf(docFreq=13)
  0.1254224 = queryNorm
1.0689929 = (MATCH) fieldWeight(site:test_site in 13), product of:
  1.0 = tf(termFreq(site:test_site)=1)
  1.0689929 = idf(docFreq=13)
  1.0 = fieldNorm(field=site, doc=13)
/str
  str name=id=test_index-test_site-integration:123,internal_docid=14
0.14332592 = (MATCH) sum of:
  0.0 = (MATCH) product of:
0.0 = (MATCH) sum of:
  0.0 = (MATCH) weight(text:appl^4.0 in 14), product of:
0.96138316 = queryWeight(text:appl^4.0), product of:
  4.0 = boost
  1.9162908 = idf(docFreq=5)
  0.1254224 = queryNorm
0.0 = (MATCH) fieldWeight(text:appl in 14), product of:
  2.236068 = tf(termFreq(text:appl)=5)
  1.9162908 = idf(docFreq=5)
  0.0 = fieldNorm(field=text, doc=14)
0.5 = coord(1/2)
  0.14332592 = (MATCH) weight(site:test_site in 14), product of:
0.13407566 = queryWeight(site:test_site), product of:
  1.0689929 = idf(docFreq=13)
  0.1254224 = queryNorm
1.0689929 = (MATCH) fieldWeight(site:test_site in 14), product of:
  1.0 = tf(termFreq(site:test_site)=1)
  1.0689929 = idf(docFreq=13)
  1.0 = fieldNorm(field=site, doc=14)
/str
 /lst
/lst
/response


how to create a filter factory in solr

2007-11-01 Thread Heba Farouk
Hello there,

I want to create an Arabic filter and Arabic filter factory to add in
solr jar to use in my application, could u give me any guides on how to
do that ??

 

Thanks in advance

 

 

 



unsubscribe

2007-11-01 Thread Jennifer Brandon




Re: fieldNorm seems to be killing my score

2007-11-01 Thread Yonik Seeley
Hmmm, a norm of 0.0???  That implies that the boost for that field
(text) was set to zero when it was indexed.
How did you index the data (straight HTTP, SolrJ, etc)?  What does
your schema for this field (and copyFields) look like?

-Yonik

On 11/1/07, Robert Young [EMAIL PROTECTED] wrote:
 Hi,

 I've been trying to debug why one of my test cases doesn't work. I
 have an index with two documents in, one talking mostly about apples
 and one talking mostly about oranges (for the sake of this test case)
 both of which have 'test_site' in their site field. If I run the query
 +(apple^4 orange) +(site:test_site) I would expect the document
 which talks about apples to always apear first but it does not.
 Looking at the debug output (below) it looks like fieldNorm is killing
 the first part of the query. Why is this and how can I stop it?

 ?xml version=1.0 encoding=UTF-8?
 response

 lst name=responseHeader
  int name=status0/int
  int name=QTime4/int
  lst name=params
   str name=rows10/str
   str name=start0/str

   str name=indenton/str
   str name=q+(apple^4 orange) +(site:test_site)/str
   str name=debugQueryon/str
   str name=version2.2/str
  /lst
 /lst
 result name=response numFound=2 start=0
  doc

   str name=guidtest_index-test_site-integration:124/str
   str name=indextest_index/str
   str name=link/oranges/str
   str name=sitetest_site/str
   str name=snippetorange orange orange/str
   str name=titleorange/str

  /doc
  doc
   str name=guidtest_index-test_site-integration:123/str
   str name=indextest_index/str
   str name=link/me/str
   str name=sitetest_site/str
   str name=snippetapple apple apple/str

   str name=titleapple/str
  /doc
 /result
 lst name=debug
  str name=rawquerystring+(apple^4 orange) +(site:test_site)/str
  str name=querystring+(apple^4 orange) +(site:test_site)/str
  str name=parsedquery+(text:appl^4.0 text:orang) +site:test_site/str
  str name=parsedquery_toString+(text:appl^4.0 text:orang)
 +site:test_site/str

  lst name=explain
   str name=id=test_index-test_site-integration:124,internal_docid=13
 0.14332592 = (MATCH) sum of:
   0.0 = (MATCH) product of:
 0.0 = (MATCH) sum of:
   0.0 = (MATCH) weight(text:orang in 13), product of:
 0.24034579 = queryWeight(text:orang), product of:
   1.9162908 = idf(docFreq=5)
   0.1254224 = queryNorm
 0.0 = (MATCH) fieldWeight(text:orang in 13), product of:
   2.236068 = tf(termFreq(text:orang)=5)
   1.9162908 = idf(docFreq=5)
   0.0 = fieldNorm(field=text, doc=13)
 0.5 = coord(1/2)
   0.14332592 = (MATCH) weight(site:test_site in 13), product of:
 0.13407566 = queryWeight(site:test_site), product of:
   1.0689929 = idf(docFreq=13)
   0.1254224 = queryNorm
 1.0689929 = (MATCH) fieldWeight(site:test_site in 13), product of:
   1.0 = tf(termFreq(site:test_site)=1)
   1.0689929 = idf(docFreq=13)
   1.0 = fieldNorm(field=site, doc=13)
 /str
   str name=id=test_index-test_site-integration:123,internal_docid=14
 0.14332592 = (MATCH) sum of:
   0.0 = (MATCH) product of:
 0.0 = (MATCH) sum of:
   0.0 = (MATCH) weight(text:appl^4.0 in 14), product of:
 0.96138316 = queryWeight(text:appl^4.0), product of:
   4.0 = boost
   1.9162908 = idf(docFreq=5)
   0.1254224 = queryNorm
 0.0 = (MATCH) fieldWeight(text:appl in 14), product of:
   2.236068 = tf(termFreq(text:appl)=5)
   1.9162908 = idf(docFreq=5)
   0.0 = fieldNorm(field=text, doc=14)
 0.5 = coord(1/2)
   0.14332592 = (MATCH) weight(site:test_site in 14), product of:
 0.13407566 = queryWeight(site:test_site), product of:
   1.0689929 = idf(docFreq=13)
   0.1254224 = queryNorm
 1.0689929 = (MATCH) fieldWeight(site:test_site in 14), product of:
   1.0 = tf(termFreq(site:test_site)=1)
   1.0689929 = idf(docFreq=13)
   1.0 = fieldNorm(field=site, doc=14)
 /str
  /lst
 /lst
 /response



SOLR 1.3: defaultOperator always defaults to OR although AND is specifed.

2007-11-01 Thread Britske

experimenting with SOLR 1.3 and discovered that although I specified 
solrQueryParser defaultOperator=AND/ in schema.xml

q=a+b behaves as q=a OR B instead of q=a AND b

Obviously this is not correct.
I used the nightly of 29 oct.

Cheers, 
Geert-Jan

-- 
View this message in context: 
http://www.nabble.com/SOLR-1.3%3A-defaultOperator-always-defaults-to-OR-although-AND-is-specifed.-tf4731773.html#a13529997
Sent from the Solr - User mailing list archive at Nabble.com.



Re: SOLR 1.3: defaultOperator always defaults to OR although AND is specifed.

2007-11-01 Thread Yonik Seeley
Try the latest... I just fixed this.
-Yonik

On 11/1/07, Britske [EMAIL PROTECTED] wrote:

 experimenting with SOLR 1.3 and discovered that although I specified
 solrQueryParser defaultOperator=AND/ in schema.xml

 q=a+b behaves as q=a OR B instead of q=a AND b

 Obviously this is not correct.
 I used the nightly of 29 oct.

 Cheers,
 Geert-Jan

 --
 View this message in context: 
 http://www.nabble.com/SOLR-1.3%3A-defaultOperator-always-defaults-to-OR-although-AND-is-specifed.-tf4731773.html#a13529997
 Sent from the Solr - User mailing list archive at Nabble.com.




Re: fieldNorm seems to be killing my score

2007-11-01 Thread Robert Young
Oooh! I think I'll just get my coat...

My indexer was defaulting to zero for document boosts rather than 1.

On 11/1/07, Yonik Seeley [EMAIL PROTECTED] wrote:
 Hmmm, a norm of 0.0???  That implies that the boost for that field
 (text) was set to zero when it was indexed.
 How did you index the data (straight HTTP, SolrJ, etc)?  What does
 your schema for this field (and copyFields) look like?

 -Yonik

 On 11/1/07, Robert Young [EMAIL PROTECTED] wrote:
  Hi,
 
  I've been trying to debug why one of my test cases doesn't work. I
  have an index with two documents in, one talking mostly about apples
  and one talking mostly about oranges (for the sake of this test case)
  both of which have 'test_site' in their site field. If I run the query
  +(apple^4 orange) +(site:test_site) I would expect the document
  which talks about apples to always apear first but it does not.
  Looking at the debug output (below) it looks like fieldNorm is killing
  the first part of the query. Why is this and how can I stop it?
 
  ?xml version=1.0 encoding=UTF-8?
  response
 
  lst name=responseHeader
   int name=status0/int
   int name=QTime4/int
   lst name=params
str name=rows10/str
str name=start0/str
 
str name=indenton/str
str name=q+(apple^4 orange) +(site:test_site)/str
str name=debugQueryon/str
str name=version2.2/str
   /lst
  /lst
  result name=response numFound=2 start=0
   doc
 
str name=guidtest_index-test_site-integration:124/str
str name=indextest_index/str
str name=link/oranges/str
str name=sitetest_site/str
str name=snippetorange orange orange/str
str name=titleorange/str
 
   /doc
   doc
str name=guidtest_index-test_site-integration:123/str
str name=indextest_index/str
str name=link/me/str
str name=sitetest_site/str
str name=snippetapple apple apple/str
 
str name=titleapple/str
   /doc
  /result
  lst name=debug
   str name=rawquerystring+(apple^4 orange) +(site:test_site)/str
   str name=querystring+(apple^4 orange) +(site:test_site)/str
   str name=parsedquery+(text:appl^4.0 text:orang) +site:test_site/str
   str name=parsedquery_toString+(text:appl^4.0 text:orang)
  +site:test_site/str
 
   lst name=explain
str name=id=test_index-test_site-integration:124,internal_docid=13
  0.14332592 = (MATCH) sum of:
0.0 = (MATCH) product of:
  0.0 = (MATCH) sum of:
0.0 = (MATCH) weight(text:orang in 13), product of:
  0.24034579 = queryWeight(text:orang), product of:
1.9162908 = idf(docFreq=5)
0.1254224 = queryNorm
  0.0 = (MATCH) fieldWeight(text:orang in 13), product of:
2.236068 = tf(termFreq(text:orang)=5)
1.9162908 = idf(docFreq=5)
0.0 = fieldNorm(field=text, doc=13)
  0.5 = coord(1/2)
0.14332592 = (MATCH) weight(site:test_site in 13), product of:
  0.13407566 = queryWeight(site:test_site), product of:
1.0689929 = idf(docFreq=13)
0.1254224 = queryNorm
  1.0689929 = (MATCH) fieldWeight(site:test_site in 13), product of:
1.0 = tf(termFreq(site:test_site)=1)
1.0689929 = idf(docFreq=13)
1.0 = fieldNorm(field=site, doc=13)
  /str
str name=id=test_index-test_site-integration:123,internal_docid=14
  0.14332592 = (MATCH) sum of:
0.0 = (MATCH) product of:
  0.0 = (MATCH) sum of:
0.0 = (MATCH) weight(text:appl^4.0 in 14), product of:
  0.96138316 = queryWeight(text:appl^4.0), product of:
4.0 = boost
1.9162908 = idf(docFreq=5)
0.1254224 = queryNorm
  0.0 = (MATCH) fieldWeight(text:appl in 14), product of:
2.236068 = tf(termFreq(text:appl)=5)
1.9162908 = idf(docFreq=5)
0.0 = fieldNorm(field=text, doc=14)
  0.5 = coord(1/2)
0.14332592 = (MATCH) weight(site:test_site in 14), product of:
  0.13407566 = queryWeight(site:test_site), product of:
1.0689929 = idf(docFreq=13)
0.1254224 = queryNorm
  1.0689929 = (MATCH) fieldWeight(site:test_site in 14), product of:
1.0 = tf(termFreq(site:test_site)=1)
1.0689929 = idf(docFreq=13)
1.0 = fieldNorm(field=site, doc=14)
  /str
   /lst
  /lst
  /response
 



Re: Alphabetical Facets

2007-11-01 Thread cricdigs


Will there be a way to do reverse alphabetical ordering in addition to
alphabetical? a-z and z-a ?

Thanks in advance.



ryantxu wrote:
 
 Chris Hostetter wrote:
 : Has anyone given any thought to alphabetical faceting?
 
 if by alphabetical you mean the natural unicode ordering of terms for
 facet.field type facets -- that's already supported.
 
 It's the default sort if there is no facet limit (ie:  facet.limit=-1)
 but
 even with a limit it can be explicitly turned on with facet.sort=false
 
 http://wiki.apache.org/solr/SimpleFacetParameters#head-569f93fb24ec41b061e37c702203c99d8853d5f1
 http://localhost:8983/solr/select/?q=*%3A*facet=truefacet.field=catrows=0facet.limit=5facet.sort=false
 
 
 perfect!
 
 I read that, but did not realize natural index order is alphabetical 
 in the ascii range.
 
 thanks
 ryan
 
 

-- 
View this message in context: 
http://www.nabble.com/Alphabetical-Facets-tf3728353.html#a13533000
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Getting only size of getFacetCounts , to simulate count(group by( a field) ) using facets

2007-11-01 Thread cricdigs

Hi,

Not sure what the resolution on this has been. But, I also have this need
and I am using 1.2 release of solr. If there is a workaround so I can get
this functionality, please advise. It will be very helpful.

Thanks.


Laurent Hoss wrote:
 
 Hi
 
 We want to (mis)use facet search to get the number of (unique) field 
 values appearing in a document resultset.
 I thought  facet search perfect for this, because it already gives me 
 all the (unique) field values.
 But for us to be used for this special problem, we don't want all the 
 values listed in response as there might be over 1 and we don't need 
 the values at all, just the count of how many!
 
 I looked at
 http://wiki.apache.org/solr/SimpleFacetParameters
 and hoped to find a parameter like
 facet.sizeOnly = true
 (or facet.showSize=true  , combined with facet.limit=1 or other small
 value)
 
 Would you accept a patch with such a feature ?
 
 It should probably be relatively easy, though not sure if fits into the 
 concept of facets..
 
 I looked at the code, maybe  add an extra Value to returned NamedList of 
 getFacetCounts() in SimpleFacets ?!
 
 ps: Other user having same request AFAIU :
 http://www.nabble.com/showing--range-facet-example-%3D-by-Range-%28-1-to-1000-%29-t3660704.html#a10229069
 
 thanks,
 
 Laurent Hoss   
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Getting-only-size-of-getFacetCounts-%2C-to-simulate-count%28group-by%28-a-field%29-%29-using-facets-tf4482430.html#a13532933
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Phrase Query Performance Question

2007-11-01 Thread Mike Klaas

On 31-Oct-07, at 11:54 PM, Haishan Chen wrote:



Date: Wed, 31 Oct 2007 17:54:53 -0700 Subject: Re: Phrase Query  
Performance Question From: [EMAIL PROTECTED] To: solr- 
[EMAIL PROTECTED]  hurricane katrina is a very expensive  
query against a collection focused on Hurricane Katrina. There  
will be many matches in many documents. If you want to measure  
worst-case, this is fine.  I'd try other things, like:  *  
ninth ward * Ray Nagin * Audubon Park * Canal Street * French  
Quarter * FEMA mistakes * storm surge * Jackson Square  Of  
course, real query logs are the only real test.  wunder


These terms are not frequent in my index. I believe they are going  
to be fast. The thing is that I feel 2 million documents is a small  
index.
100,000 or 200,000 hits is a small set and should always have sub  
second query performance. Now I am only querying one field and the
response is almost one second. I feel I can't achieve sub second  
performance if I add a bit more complexity to the query.


Many of the category terms in my index will appear in more than 5%  
of the documents and those category terms are very popular search

terms. So the example I gave were not extreme cases for my index


I think that you are somewhat misguided about what constitutes a  
small set.  A query term that appears in 5-10% of the index in a  
natural language corpus is _extremely_ frequent.  Not quite on the  
order of stopwords, but getting there.  As a comparison, on an  
extremely large corpus that I have handy, documents containing both  
the word 'auto' and 'repair' (not necessarily adjacent) constitute  
0.1% of the index.  The frequency of the phrase auto repair is 0.025%.


@200k docs would be the response rate from an 800million-doc corpus.

What data are you indexing, what what is the intended effect of the  
phrase queries you are performing?  Perhaps getting at the issue from  
this end would be more productive than hammering at the phrasequery  
performance question.



When I start tomcat I saw this message:
The Apache Tomcat Native library which allows optimal performance  
in production environments was not found on the java.library.path


Is that mean if I use Apache Tomcat Native library the query  
performance will be better. Anyone has experience on that?


Unlikely, though it might help you slightly at a high query rate with  
high cache hit ratios.


-Mike


Solr-J: automatic url-escaping gives invalid uri exception. How to workaround?

2007-11-01 Thread Britske

I have a custom requesthandler which does some very basic dynamic parameter
substitution. 
dynamic params are params which are enclosed in braces ({}). 

So this means i can do something like this: 
q={order}...

where {order} is substituted by the name of an existing order-column. 
Now this all works well when i supply such a query directly as un url in
firefox / IE. 

However when i supply a query through SOLR-J I get an invalid URI
exception as SOLR-J automatically URLEncodes the braces and then passes this
onto Apache-HttpClient, which chokes on the URLEncoded URI. 

Is there any way around passing things as braces trough SOLR-J such that the
resulting URL is correctly interprested by HttpClient? 

Geert-Jan
-- 
View this message in context: 
http://www.nabble.com/Solr-J%3A-automatic-url-escaping-gives-invalid-uri-exception.-How-to-workaround--tf4733909.html#a13536871
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Solr-J: automatic url-escaping gives invalid uri exception. How to workaround?

2007-11-01 Thread Britske

I replaced { and } by (( resp. )). Not ideal (I like braces...) but it
suffices for now. 
Still, if someone knows a general solution to the UrlEscaping-issue with
Solr-J i'd love to hear it.

Cheers,
Geert-Jan 


Britske wrote:
 
 I have a custom requesthandler which does some very basic dynamic
 parameter substitution. 
 dynamic params are params which are enclosed in braces ({}). 
 
 So this means i can do something like this: 
 q={order}...
 
 where {order} is substituted by the name of an existing order-column. 
 Now this all works well when i supply such a query directly as un url in
 firefox / IE. 
 
 However when i supply a query through SOLR-J I get an invalid URI
 exception as SOLR-J automatically URLEncodes the braces and then passes
 this onto Apache-HttpClient, which chokes on the URLEncoded URI. 
 
 Is there any way around passing things as braces trough SOLR-J such that
 the resulting URL is correctly interprested by HttpClient? 
 
 Geert-Jan
 

-- 
View this message in context: 
http://www.nabble.com/Solr-J%3A-automatic-url-escaping-gives-invalid-uri-exception.-How-to-workaround--tf4733909.html#a13537284
Sent from the Solr - User mailing list archive at Nabble.com.



Re: sorting results

2007-11-01 Thread Chris Hostetter

: sorry to be a numptie but can someone tell me how I change my results sort
: mechanism?

: I'm using solr 1.1 and the example solr install from the download.  I've

check the copy of hte tutorial that is included with your version of Solr 
... it describes how to do sorting with teh standard request handler 
(quick answer: put ; title asc at the end of your q param)

if you are using dismax (that was in Solr 1.1 right?) then it's a seperate 
sort param just like StandardREquestHandler uses right now (ie: 
q=bob+dolesort=title+asc

in either case, you need a field named title which is indexed and can't 
have multi-values ... which means if you use a TextField it needs to use 
KeywordTokenizer.  fields you search on don't typically work well as sort 
fields for this reason, but using copyField in your schema can give you 
one version for searching and one version forsorting.

-Hoss



Re: how to create a filter factory in solr

2007-11-01 Thread Chris Hostetter

: I want to create an Arabic filter and Arabic filter factory to add in
: solr jar to use in my application, could u give me any guides on how to
: do that ??

Step one is to create your Filter, this is completley independent of Solr, 
you can develop directly against the Lucene jar. 
... write some unit tests that verify it does what you wnat it to do.

Creating a Factory for your Filter is then trivial ... assuming your 
Filters don't have a lot of constructor options, they can be just a few 
lines of java code.  for info on using them in Solr check out this wiki...

http://wiki.apache.org/solr/SolrPlugins



-Hoss



Re: How to get number of indexed documents?

2007-11-01 Thread Walter Underwood
/solr/admin/stats.jps is XML with a stylesheet. It contains stuff
like this:

stat name=numDocs 
  266687
/stat

wunder

On 11/1/07 7:39 PM, Papalagi Pakeha [EMAIL PROTECTED] wrote:

 Hello,
 
 Is there any way to get XML version of statistics like how many
 documents are indexed etc?
 
 I have found http://.../solr/admin/properties which is cool but
 doesn't give me the number of indexed documents.
 
 Thanks
 
 PaPa



Exception starting filter SolrRequestFilter in ubuntu 7.04,tomcat5.5

2007-11-01 Thread zsy dnl
2007-11-2 10:27:58 org.apache.solr.core.Config getInstanceDir
信息: Using JNDI solr.home: /data/www/tomcat/webapps/solr
2007-11-2 10:27:58 org.apache.solr.core.Config setInstanceDir
信息: Solr home set to '/data/www/tomcat/webapps/solr/'
2007-11-2 10:27:58 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter SolrRequestFilter
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.solr.core.SolrConfig
at org.apache.solr.servlet.SolrDispatchFilter.init(
SolrDispatchFilter.java:74)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
ApplicationFilterConfig.java:223)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (
ApplicationFilterConfig.java:304)
at org.apache.catalina.core.ApplicationFilterConfig.init(
ApplicationFilterConfig.java:77)
at org.apache.catalina.core.StandardContext.filterStart(
StandardContext.java :3634)
at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4217)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.access$0 (
ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(
ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild (
ContainerBase.java:737)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(
HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors (
HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java
:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (
HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java
:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
:1013)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(
StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:709)
at org.apache.catalina.startup.Catalina.start (Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(
DaemonLoader.java:177)
2007-11-2 10:27:58 org.apache.catalina.core.StandardContext start
严重: Error filterStart


How to get number of indexed documents?

2007-11-01 Thread Papalagi Pakeha
Hello,

Is there any way to get XML version of statistics like how many
documents are indexed etc?

I have found http://.../solr/admin/properties which is cool but
doesn't give me the number of indexed documents.

Thanks

PaPa


Re: How to get number of indexed documents?

2007-11-01 Thread Brian Whitman

does http://.../solr/admin/luke work for you?

lst name=index
int name=numDocs601818/int

...


On Nov 1, 2007, at 10:39 PM, Papalagi Pakeha wrote:


Hello,

Is there any way to get XML version of statistics like how many
documents are indexed etc?

I have found http://.../solr/admin/properties which is cool but
doesn't give me the number of indexed documents.

Thanks

PaPa


--
http://variogr.am/





Re: How to get number of indexed documents?

2007-11-01 Thread Papalagi Pakeha
Thanks, that's what I wanted :-)

PaPa

On 11/2/07, Brian Whitman [EMAIL PROTECTED] wrote:
 does http://.../solr/admin/luke work for you?

 lst name=index
 int name=numDocs601818/int

 ...


 On Nov 1, 2007, at 10:39 PM, Papalagi Pakeha wrote:

  Hello,
 
  Is there any way to get XML version of statistics like how many
  documents are indexed etc?
 
  I have found http://.../solr/admin/properties which is cool but
  doesn't give me the number of indexed documents.
 
  Thanks
 
  PaPa

 --
 http://variogr.am/