Re: how can I use dll to analyze

2007-03-13 Thread James liu
I use jsp only for test. you've gotten your analyzer/jar/jni/dll to work in a command line app, the next step before trying to use it in Solr is probably to try and use it in a simple JSP Do u mean if it work well in cmd that meas it can use with solr? 2007/3/13, Ryan McKinley <[EMAIL PR

Re: how can I use dll to analyze

2007-03-13 Thread James liu
But now i can't use it with solr.(i compiled solr with ant) 2007/3/13, James liu <[EMAIL PROTECTED]>: I use jsp only for test. you've gotten your analyzer/jar/jni/dll to work in a command line app, the > > next step before trying to use it in Solr is probably to try and use it > in > a simpl

faceting for further MLT/grouping

2007-03-13 Thread Brian Whitman
We have a site with users that post things (say it's a review of a book. each review gets a solr doc.) On the user info page we show a 'top 10' faceting result on the query: q=username:bwhitman&facet=true&facet.field=review&facet.limit=10 which comes back with 9 4 .. Which is great as a sim

Limiting results based on score

2007-03-13 Thread Corey Tisdale
Is there a way to specify that you only want results with a score greater than x? I've noticed that when two generic words mean something specific if seen together, I get good results with a high score but thousands of not-so-relevent results below score x. This is only a problem when sorti

Re: how can I use dll to analyze

2007-03-13 Thread Ryan McKinley
I'm not totally following your problem, but i'll give it a shot. You need to make sure the classpath for the solr web-app has everything you need. I suggested putting your test jsp file into the solr web-app. If your jsp test works, you should be able to use the JNI bindings from solr. If your

Re: Limiting results based on score

2007-03-13 Thread Chris Hostetter
short answer: No long answer: You could with a custom request handler but it would be meaningless. There are more details on this in the LUcene FAQ which has few pointers to past discussions on the lucene java mailing lists (there are many, MANY more discussions about this in the lucene archives

Re: how can I use dll to analyze

2007-03-13 Thread Chris Hostetter
: you've gotten your analyzer/jar/jni/dll to work in a command line app, the : > next step before trying to use it in Solr is probably to try and use it in : > a simple JSP : Do u mean if it work well in cmd that meas it can use with solr? i mean that if you wrote a simple little command line ap

How to decide to use Analyzer, AnalyzerFactory, or TokenizerFactory

2007-03-13 Thread Teruhiko Kurosaka
Hello, I am new to solr, and trying to undestand how things work. If I want to use my tokenizer, there seems to be three choices: 1. Write a TokenizerFactory that create() my Tokenizer, and specify the factory in schema.xml. 2. Write an Analyzer that uses my Tokenizer, and specify that Analyzer in

Re: Limiting results based on score

2007-03-13 Thread Corey Tisdale
Thanks! Corey On Mar 13, 2007, at 4:24 PM, Chris Hostetter wrote: short answer: No long answer: You could with a custom request handler but it would be meaningless. There are more details on this in the LUcene FAQ which has few pointers to past discussions on the lucene java mailing lists

Re: How to decide to use Analyzer, AnalyzerFactory, or TokenizerFactory

2007-03-13 Thread Chris Hostetter
: Is there document that describes differences of these approaches, guides : when to use which? there is some guidence in these wiki pages... http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters http://wiki.apache.org/solr/SolrPlugins In general, do what ever is easiest for you ... if yo

Re: Commit after how many updates?

2007-03-13 Thread Maximilian Hütter
Mike Klaas schrieb: > On 3/12/07, Maximilian Hütter <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a question regarding Solr's behaviour, in the standard >> installation. When use the start.jar with a rather complex schema and I >> do about 1000 updates and then try to commit, I get this: >> >> jav

Index arbitrary xml-elments in only one field without copying

2007-03-13 Thread thomas arni
Hello I'm currently evaluate solr for our needs. In a first step I used your example and adapted the “schema.xml”. In contrast to the example docs provided I haven't homogeneous documents, which means I only want to index to two fields. This fields are the uniqueKey (docno) and a textfield (text)