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

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,

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:

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

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

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

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

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

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

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

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

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

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

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

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

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