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

RE: Querying multiple dynamicField

2008-02-04 Thread Lance Norskog
You can use the 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: solr-user@lucene.apache.o

Re: For an "XML" fieldtype

2008-02-04 Thread Frédéric Glorieux
Hi Ryan Thanks for answer, 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 > etc). This is quite the only change I done to StrField, so I get back the original XML

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: (Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;

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 > etc). I think if you use the JSON writer, it is only escaped for json. what is missing? what problem are you hitting

Re: How to setup German stemmer?

2008-02-04 Thread Tobias Lohr
@steve: Your suggestion didn't work either. But anyway, the snowball porter filter worked. @rachel: As I already posted, I got the following error org.apache.solr.core.SolrException: Error loading class '...' I use Solr 1.2 Hi Tobi, On 02/04/2008 at 4:11 PM, Tobias Lohr wrote:

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 po

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 S

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: > > > > thanks for your hint. I've already tried this [...] Did it work? > I wonder, whether this leads to the same or a different result. > If the latter, what is the difference between the

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 th

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 I

Re: How to setup German stemmer?

2008-02-04 Thread Tobias Lohr
Your suggestions don't work either! Both and 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 supposed to use GermanStemFilter instead of GermanStemFilterFactory

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 >: "Ge

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

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 nor works. Any suggestions? Thanks, Tobi

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.

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.

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 specifying

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 ove

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

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 the

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

Re: duplicate entries being returned, possible caching issue?

2008-02-04 Thread Rachel McConnell
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? R On 2/3/08, Yonik Seeley <[EMAIL PROTECTED]> wrote: > I would guess you are seeing a view of the index after adding some > docu

Re: Limiting duplicate field occurrences to specified number

2008-02-04 Thread Briggs
Again, thanks for pointing me to the patches. Admittedly, I am not all that well informed in the patching world. I know how to apply them and all that. But, I am trying to track down exactly which patches I need to apply. I currently have the source for Solr 1.2. The patches are for 1.1, 1.3 and

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 t

Re: Limiting duplicate field occurrences to specified number

2008-02-04 Thread Briggs
Cool, thanks! On Feb 4, 2008 11:36 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > 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, > > >

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 o

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! -- "Conscious decisions by con

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 nor works. Any suggestions? Thanks, Tobi

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]>

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 wit

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, 2008

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 m

Search not working for indexed words...

2008-02-04 Thread nithyavembu
Hi All, From past 6 months i am working and using SOLR. Now i am facing some problem with that while searching. I have searched for some words but it doesnt return the result even its existing and indexed in data folder in SOLR server(i meant solr tomcat). I have given the following word