Multiple Search in Solr

2008-02-04 Thread Niveen Nagy
Hello , I have a question concerning solr multiple indices. We have 4 solr indices in our system and we want to use distributed search (Multiple search) that searches in the four indices in parallel. We downloaded the latest code from svn and we applied the patch distributed.patch but we need

RE: Multiple Search in Solr

2008-02-04 Thread Jae Joo
I have downloaded version 1.3 and built multiple indices. I could not find any way for multiple indices search at Solr level, I have written the Lucene application. It is working well. Jae Joo -Original Message- From: Niveen Nagy [mailto:[EMAIL PROTECTED] Sent: Monday, February 04,

RE: Search not working for indexed words...

2008-02-04 Thread Ard Schrijvers
Hello, your problem stems ( :-) ) from stemming. You can search this list, and probably will find many threads. Last week somebody had the same question, see archive of last week, Regards Ard Hi All, From past 6 months i am working and using SOLR. Now i am facing some problem with

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Yonik Seeley
On Feb 4, 2008 2:20 PM, Rachel McConnell [EMAIL PROTECTED] wrote: If you are running snapshooter asynchronously, this would be the cause. It's designed to be run from solr (via a postCommit or postOptimize hook) at specific points where a consistent view of the index is available. So our

Re: Dates, Times and Timezones

2008-02-04 Thread Chris Hostetter
: One great problem we are having to integrate solr with plone is that : plone can have dates and times in diferent timezones, and each user can query : the data in its own timezone. So we would be really interested in being able : to put date/time data on solr with a timezone and

Re: Search not working for indexed words...

2008-02-04 Thread Yonik Seeley
It's stemming. Administrator stems to administr Stemming isn't really possible for wildcard queries, so administrator* won't match. If you really need both wildcard queries and stemming, then use two different fields (via copyField). -Yonik On Feb 4, 2008 6:54 AM, nithyavembu [EMAIL PROTECTED]

Limiting duplicate field occurrences to specified number

2008-02-04 Thread Briggs
Is it possible to limit the number of duplicate field values are returned in a search result? To give a use case, I have a set of products. Each product belongs to a single vendor. When I query, I would like only n-number of results per vendor returned. Thanks! briggs / -- Conscious

Re: SpanQuery support

2008-02-04 Thread Renaud Delbru
Hi Yonik, Yonik Seeley wrote: On Feb 2, 2008 3:43 PM, Renaud Delbru [EMAIL PROTECTED] wrote: I was looking at the discussion of SOLR-281. If I understand correctly, the task would be to write my own search component class, SpanQueryComponent that extends the SearchComponent class, then

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Yonik Seeley
On Feb 4, 2008 1:48 PM, Rachel McConnell [EMAIL PROTECTED] wrote: On 2/4/08, Yonik Seeley [EMAIL PROTECTED] wrote: On Feb 4, 2008 1:15 PM, Rachel McConnell [EMAIL PROTECTED] wrote: We are using Solr's replication scripts. They are set to run every 20 minutes, via a cron job on the slave

Re: How to setup German stemmer?

2008-02-04 Thread Tobias Lohr
No ideas?? Hi, I wonder how I can setup a German stemmer correctly in a list of filters for a field type definition. Neither filter class=solr.GermanStemFilterFactory/ nor filter class=org.apache.solr.analysis.GermanStemFilterFactory/ works. Any suggestions? Thanks, Tobi

Re: Limiting duplicate field occurrences to specified number

2008-02-04 Thread Ryan McKinley
perhaps: https://issues.apache.org/jira/browse/SOLR-236 Briggs wrote: Is it possible to limit the number of duplicate field values are returned in a search result? To give a use case, I have a set of products. Each product belongs to a single vendor. When I query, I would like only n-number

How to setup German stemmer?

2008-02-04 Thread Tobias Lohr
Hi, I wonder how I can setup a German stemmer correctly in a list of filters for a field type definition. Neither filter class=solr.GermanStemFilterFactory/ nor filter class=org.apache.solr.analysis.GermanStemFilterFactory/ works. Any suggestions? Thanks, Tobi

Re: SpanQuery support

2008-02-04 Thread Yonik Seeley
On Feb 2, 2008 3:43 PM, Renaud Delbru [EMAIL PROTECTED] wrote: I was looking at the discussion of SOLR-281. If I understand correctly, the task would be to write my own search component class, SpanQueryComponent that extends the SearchComponent class, then overwriting the declaration of the

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Rachel McConnell
On 2/4/08, Yonik Seeley [EMAIL PROTECTED] wrote: On Feb 4, 2008 1:48 PM, Rachel McConnell [EMAIL PROTECTED] wrote: On 2/4/08, Yonik Seeley [EMAIL PROTECTED] wrote: On Feb 4, 2008 1:15 PM, Rachel McConnell [EMAIL PROTECTED] wrote: We are using Solr's replication scripts. They are set to

Re: How to setup German stemmer?

2008-02-04 Thread Chris Hostetter
First off: you have to be more specific about what you mean when you say neither ... or ... works .. what happens? Do you get an error on startup? what does the error look like? You also have to be clear about which version of Solr you are using ... GermanStemFilterFactory was added after

RE: How to setup German stemmer?

2008-02-04 Thread Steven A Rowe
Hi Tobi, On 02/04/2008 at 4:11 PM, Tobias Lohr wrote: On 02/04/2008 at 3:42 PM, Steven A Rowe wrote: filter class=solr.SnowballPorterFilterFactory language=German/ thanks for your hint. I've already tried this [...] Did it work? I wonder, whether this leads to the same or a different

Re: SpanQuery support

2008-02-04 Thread Renaud Delbru
Yonik Seeley wrote: On Feb 2, 2008 3:43 PM, Renaud Delbru [EMAIL PROTECTED] wrote: I was looking at the discussion of SOLR-281. If I understand correctly, the task would be to write my own search component class, SpanQueryComponent that extends the SearchComponent class, then overwriting the

RE: How to setup German stemmer?

2008-02-04 Thread Steven A Rowe
Hi Tobi, On 02/04/2008 at 10:13 AM, Tobias Lohr wrote: Hi, I wonder how I can setup a German stemmer correctly in a list of filters for a field type definition. From http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-b80fb581f4e078142c694014f1a8f60c0935e080: filter

Re: How to setup German stemmer?

2008-02-04 Thread Shalin Shekhar Mangar
Probably someone who knows more about this can shed some light, but aren't you supposed to use GermanStemFilter instead of GermanStemFilterFactory ? On Feb 5, 2008 1:27 AM, Tobias Lohr [EMAIL PROTECTED] wrote: No ideas?? Hi, I wonder how I can setup a German stemmer correctly in a list of

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Rachel McConnell
On 2/4/08, Yonik Seeley [EMAIL PROTECTED] wrote: On Feb 4, 2008 1:15 PM, Rachel McConnell [EMAIL PROTECTED] wrote: We are using Solr's replication scripts. They are set to run every 20 minutes, via a cron job on the slave servers. Any further useful info I can give regarding them? Are

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Yonik Seeley
On Feb 4, 2008 1:15 PM, Rachel McConnell [EMAIL PROTECTED] wrote: We are using Solr's replication scripts. They are set to run every 20 minutes, via a cron job on the slave servers. Any further useful info I can give regarding them? Are you using the postCommit hook in solrconfig.xml to call

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Rachel McConnell
On 2/4/08, Yonik Seeley [EMAIL PROTECTED] wrote: On Feb 4, 2008 2:20 PM, Rachel McConnell [EMAIL PROTECTED] wrote: If you are running snapshooter asynchronously, this would be the cause. It's designed to be run from solr (via a postCommit or postOptimize hook) at specific points where a

Re: How to setup German stemmer?

2008-02-04 Thread Tobias Lohr
Your suggestions don't work either! Both filter class=org.apache.solr.analysis.GermanStemFilter/ and filter class=solr.GermanStemFilter/ lead to org.apache.solr.core.SolrException: Error loading class .. Probably someone who knows more about this can shed some light, but aren't you

Re: Factory in Solr

2008-02-04 Thread Chris Hostetter
: I'm trying to add a factory in solr for tokenizing Arabic text, but I : receive some error (the one at the last of my email) : java.lang.VerifyError: (class: : org/apache/solr/analysis/ArabicTokenizerFactory, method: create : signature:

Re: For an XML fieldtype

2008-02-04 Thread Ryan McKinley
Depends what you are trying to do. Is there anything wrong with just using string or text fieldType? If you use the XML writer, it will get returned xml encodedd ( becomes gt etc). I think if you use the JSON writer, it is only escaped for json. what is missing? what problem are you

RE: Querying multiple dynamicField

2008-02-04 Thread Lance Norskog
You can use the copyField directive to copy all 'sentence_*' fields into one indexed field. You then have a named field that you can search against. Lance Norskog -Original Message- From: Renaud Delbru [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 6:48 PM To:

Re: How to setup German stemmer?

2008-02-04 Thread Tobias Lohr
Hi Steve, thanks for your hint. I've already tried this and I wonder, whether this leads to the same or a different result. If the latter, what is the difference between the stemmer and the snowball variant? tobi Hi Tobi, On 02/04/2008 at 10:13 AM, Tobias Lohr wrote: Hi, I wonder how

Re: SpanQuery support

2008-02-04 Thread Yonik Seeley
On Feb 4, 2008 11:53 AM, Yonik Seeley [EMAIL PROTECTED] wrote: You could, but that would be the hard way (by a big margin). There are pluggable query parsers now (see QParserPlugin)... but the current missing piece is being able to specify a new parser plugin from solrconfig.xml Hmmm, it