How to run the Embedded Solr Sample

2007-07-10 Thread nithyavembu
Hi All, I am using Netbeans IDE for compiling and running java. I want to run the EmbeddedSolr sample given in apache. I have set the solr home also. But how can i run that program? I am getting the following errors while running. Jul 11, 2007 11:14:48 AM org.apache.solr.core.Config s

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

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 searches

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 resu

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 e

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 Stem

Re: SOLR using sort but not sorting

2007-07-10 Thread Chris Hostetter
: : 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 "sort" param docs, but i have beefed up the info http

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: 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 h

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

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 bra

Re: wildcard searches standard request handler

2007-07-10 Thread Karen Loughran
Hi Yonik, whene* does indeed work thanks. Though the Context diff patch fails against my 1.2 download: patch -p0 < lowercase_prefix.patch patching file src/java/org/apache/solr/schema/FieldType.java Hunk #1 FAILED at 24. Hunk #2 FAILED at 387. 2 out of 2 hunks FAILED -- saving rejects to file

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

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: everything else is set to default. now I do last-name:a* I get all docs wiht last-name starting with a. now I add sort=last-name asc this DOES change the ordering of the docs but

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

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 f

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 compati

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 creat

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. B

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 wo

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: When tomcat was start,tomcat will read this file,and

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

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 cl

Stemmer bug?

2007-07-10 Thread Andrew Stromnov
Working config (with proper russian stemming): Non-working config (no russian stemming): -- View this message in context: http://www.nabble.com/Problem-with-Russian-stemmer-in-Sol