Add 2 stemmers to a textfield?

2007-07-10 Thread Thierry Collogne
Hello, Our index contains 2 languages : dutch and french. I was wondering if it is possible to add 2 solr.SnowballPorterFilterFactory filters to one text field like this : fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer

query parameter question

2007-07-10 Thread David Ginzburg
Hi, I am trying to search a solr index and I don't understand whether the query has to conform to a lucene query structure maybe even generated by the lucene api such as QueryParser. If that is the case then what happens with the tokens in my query? Are they further tokenised by the tokenizer

RE: Solr Server Configuration

2007-07-10 Thread nithyavembu
Hi Kijiji Xu, Thanks a lot for your clear guidance. I tried as you said. But i was unclear with the environment varible values in solr.xml So atlast i didnt touch the configuration parts. These are the steps i followed for the solr server working.. 1. Used tomcat 5 with windows. 2. Deployed

RE: Solr Server Configuration

2007-07-10 Thread Kijiji Xu, Ping
I'm sorry I don't quite understand why you create a folder named solr in tomcat/bin in your step 3 The first of all ,you should understand this solr.xml file which I put in tomcat/conf/Catalina/localhost/,its contents follows like this: Context docBase=/home/tomcat/webapps/solr.war debug=0

Re: Problems running SOLR 1.2 - documents not being indexed properly

2007-07-10 Thread Daniel Alheiros
Hi Hoss Yes, no error and that strange behaviour on the numbers shown by the admin console. I'll try an see how to make my SOLR logging better, because so far it's not that good. Regards, Daniel On 9/7/07 19:16, Chris Hostetter [EMAIL PROTECTED] wrote: : After I removed manually it worked

Re: Problem with Russian stemmer in Solr 1.2

2007-07-10 Thread Daniel Alheiros
Hi Andrew Yes, I saw that. As I'm not knowledgeable in Russian I had to infer it was adequate. But as you have much more to add to it, it could be interesting if you could contribute that. The problem is Russian analyzer and it's filters are all final class, don't allowing an elegant extension.

RE: Solr Server Configuration

2007-07-10 Thread nithyavembu
Hi, I tried as you said and got the result without any error. So we can make the solr home anywhere. But we have to give the path correctly in solr.xml. Am i correct? Now i am one step further.. :) Best, V.Nithya. Kijiji Xu, Ping wrote: I'm sorry I don't quite understand why you create

Re: Add 2 stemmers to a textfield?

2007-07-10 Thread Daniel Alheiros
Hi Thierry. I'm not sure this is the best approach. What I've adopted an so far is working really well is to have one field per language (like text_french and text_dutch) and in your schema you declare both plus one that just receives the copy of them. Your index/query analysis have to be

Re: Solr Server Configuration

2007-07-10 Thread James liu
u can find configuration datadir in solrconfig.xml(solr 1.2) 2007/7/10, nithyavembu [EMAIL PROTECTED]: Hi, I tried as you said and got the result without any error. So we can make the solr home anywhere. But we have to give the path correctly in solr.xml . Am i correct? Now i am one step

wildcard searches standard request handler

2007-07-10 Thread Karen Loughran
Hi all, I understand from browsing through the mailing list that I won't be able to perform wildcard searches using disMax request handler. But why doesn't any of the following wildcard searches work when using the standard request handler: Firstly the following query accurately returns 27

SOLR using sort but not sorting

2007-07-10 Thread Alessandro Ferrucci
Yo guys so I have a very simplistic solr installation. The relevant schema portion is: field name=last-name type=text indexed=true stored=true/ field name=first-name type=text indexed=true stored=true/ field name=school-year type=text indexed=true stored=true/ field

Re: wildcard searches standard request handler

2007-07-10 Thread Yonik Seeley
On 7/10/07, Karen Loughran [EMAIL PROTECTED] wrote: I understand from browsing through the mailing list that I won't be able to perform wildcard searches using disMax request handler. But why doesn't any of the following wildcard searches work when using the standard request handler: Firstly

Facet names coming back without decimal points

2007-07-10 Thread Matthew Runo
Hello!I was wondering if any of you had any ideas on why my "size" facets are coming back without any decimal points in their names. For example, my 7.5s come back as 75. Very strange. You can see, right below the size facet is a brand facet with a name of "Vans". As far as I can tell, both the

Re: Facet names coming back without decimal points

2007-07-10 Thread Daniel Alheiros
Hi Matthew. It¹s probably caused by the way you are processing this field. As you have defined it as a ³text² that has a Whitespace tokenizer and a set of filters related to it. You could create a new field type or just use a numeric type (like sfloat) for that. Anyway you can always see how your

Re: query parameter question

2007-07-10 Thread Chris Hostetter
: I am trying to search a solr index and I don't understand whether the query : has to conform to a lucene query structure Fundementally, there is no single query structure -- anyone can write a request handler that parses any syntax they want. Practically speaking, Solr comes with two request

Re: wildcard searches standard request handler

2007-07-10 Thread Yonik Seeley
On 7/10/07, Karen Loughran [EMAIL PROTECTED] wrote: Hi Yonik, whene* does indeed work thanks. Though the Context diff patch fails against my 1.2 download: For now, I'd advise just lowercasing wildcard queries in the client if you know that is how your field is indexed. -Yonik

Re: SOLR using sort but not sorting

2007-07-10 Thread Chris Hostetter
: field name=last-name type=text indexed=true stored=true/ : now I add sort=last-name asc : : this DOES change the ordering of the docs but it's not exactly : alphabetically. Lucene sorting can't work on a field with more then one indexed term per document, this was breifly covered in the

Re: Stemmer bug?

2007-07-10 Thread Chris Hostetter
: Subject: Stemmer bug? can you elaborate on what exactly you view as a bug? if the issue is just that one of the examples stemms something in a way thta you think makes sense, but the other one does not that really isn't a bug so much as it is a comment on the effectiveness of the Snowball

Re: Stemmer bug?

2007-07-10 Thread Andrew Stromnov
Hi RussianAnalyzer produces russian stemmed forms, but SnowballPorterFilterFactory with language=Russian leaves _all_ russian content unchanged. hossman wrote: : Subject: Stemmer bug? can you elaborate on what exactly you view as a bug? if the issue is just that one of the examples

RE: Solr Server Configuration

2007-07-10 Thread Kijiji Xu, Ping
Yes, that's right, just make the path in the solr.xml is right, everything will be ok! -Original Message- From: nithyavembu [mailto:[EMAIL PROTECTED] Sent: 2007年7月10日 18:28 To: solr-user@lucene.apache.org Subject: RE: Solr Server Configuration Hi, I tried as you said and got the

RE: wildcard searches standard request handler

2007-07-10 Thread Xuesong Luo
That's also what I did in my code, I search for * or ?, if exists, lowercase the query string. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Tuesday, July 10, 2007 12:13 PM To: solr-user@lucene.apache.org Subject: Re: wildcard

A few questions regarding multi-word synonyms and parameters encoding

2007-07-10 Thread climbingrose
Hi all, I've been using Solr for the last few projects and the experience has been great. I'll post the link to the website once it finishes. Just have a few questions regarding synonyms and parameters encoding: 1) Is multi-word synonyms possible now in Solr? For example, can I have things like