Re: strange results from lucene

2007-04-17 Thread Daniel Naber
On Tuesday 17 April 2007 21:51, Bill Tantzen wrote: > However, when I search with 'q=ethics' in solr, I get almost 10,000 > matches. With my client, I get 0. If you don't specify a field, your client will use this code: Query query = new TermQuery( new Term("", "ethics") ); This is legal, but y

Re: strange results from lucene

2007-04-17 Thread Bertrand Delacretaz
On 4/17/07, Bill Tantzen <[EMAIL PROTECTED]> wrote: ...However, when I search with 'q=ethics' in solr, I get almost 10,000 matches. With my client, I get 0 What kind of analyzer do you use when indexing that field? If you have a stemmer, for example, "ethics" might be indexed without the e

strange results from lucene

2007-04-17 Thread Bill Tantzen
Hi all! I have a simple java search client with which I am querying the index created by solr. Most of the time, I am seeing consistent results - in other words, when my query is 'title:dog' with my client, I get 46 matching documents, and when I have a 'q=title:dog' in the solr url, I also get 4

Re: [acts_as_solr] Few question on usage

2007-04-17 Thread amit rohatgi
Hi Nathan, Thanks for the quick reply. I am here using ferret but looking for advance features like search result highlight, facet search and strong analyzer, (synonym and stop word) capabilities. Which I believe solr server will be able to provide. Considering that I plan to move from ferret to

Re: [acts_as_solr] Few question on usage

2007-04-17 Thread Nathan Woodhull
I am using the Solr plugin to the Searchable module. I have made a large number of enhancements to the library to support the application that I am working on that I hope to contribute back to the community soon (multiple indexes, faceted browsing, etc) but for basic stuff, you should find what

Re: New docs need server restart after synchronization

2007-04-17 Thread Chris Hostetter
: logged correctly... on the master. I had copied scripts.conf from the : master to all the slaves with solr_hostname=master and didn't replace : with slave1 slave2 etc, so the commit was successful, but not on the : slave. Dumb. Dumb. ah ... glad we found the problem. : Now that we are at it..

[acts_as_solr] Is this correct way to change solr_configuration

2007-04-17 Thread amit rohatgi
Hi I am new acts_as_solr plug in and exploring the plug in potential. I tried to experiment the plug in with existing table having primary key as string. Earlier it failed to get me correct results and complain for primary not to be integer. Thereafter I modified model solr_configuration Model.s

[acts_as_solr] Few question on usage

2007-04-17 Thread amit rohatgi
Hi Here are few question for solr integrating with ruby 1. What are other alternatives are available for ruby integration with solr other than acts-as_solr plugin. 2. acts_as_solr plugin - does it support highlighting feature 3. performance benchmark for acts_as_solr plugin available if any -t

Re: New docs need server restart after synchronization

2007-04-17 Thread galo
I was expecting to see the commit error which is the one that told me before the configuration was not correct but the commit was made and logged correctly... on the master. I had copied scripts.conf from the master to all the slaves with solr_hostname=master and didn't replace with slave1 slav