Re: a bug in commit script?

2007-09-21 Thread Yu-Hui Jin
Got it. So what's the easiest way to get this patch? Sorry i'm new to this. regards, -Hui On 9/20/07, Bill Au [EMAIL PROTECTED] wrote: That would be my bad. I noticed the problem while fixing SOLR-282 which is not related. I fixed both problems in stead of opening a different bug for the

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-21 Thread Yu-Hui Jin
Bill, Thanks for the explanation. That helps my understanding on rsync and the replication in general. regards, -Hui On 9/20/07, Bill Au [EMAIL PROTECTED] wrote: The solr that you are referring to in your third question in the name of the rsync area which is map to the solr data directory.

RE: clarification needed for the Ranking score

2007-09-21 Thread Dilip.TS
Hi, Can we use the ranking as follows when searching the term'Java' present in different fields as per the relevance scenarios mentioned in the previous mail. q= courseTitle:Java^1 AND courseTag:Java^1000 AND courseDescription:Java^100; courseTitle asc, courseDescription asc, courseTag

RE: Strange behavior when searching with accents

2007-09-21 Thread Thorsten Scherler
On Thu, 2007-09-20 at 11:13 -0700, Lance Norskog wrote: English and French are messy, so heuristic methods are the only possible. Spanish is rigorously clean, and stemming should be done from the declension rules and irregular conjugation tables. This involves large (fast) tables in ram rather

Re: Term extraction

2007-09-21 Thread Pieter Berkel
Thanks for the response guys: Grant: I had a brief look at LingPipe, it looks quite interesting but I'm concerned that the licensing may prevent me from using it in my project. Michael: I have used the Yahoo API in the past but due to it's generic nature, I wasn't entirely happy with the results

Weird bug in query

2007-09-21 Thread Alexandru Badiu
Hello, I have a problem I'm not sure how to debug. I am running Solr 1.2.1 under Jetty. I have the following two queries: - q:articol_tag:pilonul ii AND articol_tag:facultative which returns x rows - q:articol_tag:facultative AND articol_tag:pilonul ii which doesn't return any rows I'm

Scripts not working on cron - always asking for password

2007-09-21 Thread Daniel Alheiros
Hi I'm having problems trying to setup my schedulled tasks. Sorry if it's something Linux related, as I'm not a Linux expert... I created a scripts.conf file (for my slave server) containing: user=solr solr_hostname=10.133.132.159 solr_port=8080 rsyncd_port=20280

Re: Scripts not working on cron - always asking for password

2007-09-21 Thread Thorsten Scherler
On Fri, 2007-09-21 at 13:02 +0100, Daniel Alheiros wrote: Hi I'm having problems trying to setup my schedulled tasks. Sorry if it's something Linux related, as I'm not a Linux expert... I created a scripts.conf file (for my slave server) containing: user=solr solr_hostname=10.133.132.159

RE: Synonyms expressions sens

2007-09-21 Thread Laurent Gilles
Thanks for the advice Grant, I've tried putting '_' into synonyms, but step by step I've realised that it what always more intrusive into Solr source code... But I've found another solution, that I want to expose here in order to have external advice and perhaps pointing out some bugs or side

Re: Problem getting the FacetCount

2007-09-21 Thread Yonik Seeley
On 9/21/07, Amitha Talasila [EMAIL PROTECTED] wrote: But when we make a facet query like, http://localhost:8983/solr/select?q=ipodrows=0facet=truefacet.limit=-1fac et.query=weight:{0m TO 100m}, the facet count is coming as 0.We are indexing it as a string field because if the user searches for

Re: Term extraction

2007-09-21 Thread Yonik Seeley
On 9/21/07, Pieter Berkel [EMAIL PROTECTED] wrote: Yonik: This is the approach I had in mind, will it still work if I put the SynonymFilter after the word-delimiter filter in the schema config? SynonymFilter doesn't currently have the capability to handle multiple tokens at the same position in

Re: Scripts not working on cron - always asking for password

2007-09-21 Thread Daniel Alheiros
Hi Thorsten, Thanks for your answer, but I've done it before and it still didn't work. I was running everything before as root and it didn't work either. Now I've created a solr user, part of the root group, changed the ownership of all solr stuff, and changed file permissions to 775 (so any

Re: Faceting question

2007-09-21 Thread Cric Digs
lol I agree with you Hoss - sorry for that Here's the thing: I need additional information from the index - such as the id related to a facet field. For example, say I am faceting on author names for a book store, I would also like to get the author id along with the author name to show a link

olap with solr (math operations on facets)

2007-09-21 Thread Rafael Rossini
Hi all, I´m considering on doing something like a light-weight olap server with lucene/solr. To achieve that I´d have to do some math operantions on facets. Is that possible? For example, my documents would be a purchase row, like (id, value, id_department, id_store, id_region ...). If I did a

RE: Faceting question

2007-09-21 Thread Binkley, Peter
Faceting works on the terms in an index, so you can't get information beyond those terms without doing extra work. You could build an extra index used only for faceting that concatenates the information you need from other fields, and then parse it out in your application: e.g. Tolkien,

RE: Faceting question

2007-09-21 Thread cricdigs
Thanks Peter. That will be my work-around, but I was hoping to find a more elegant solution ;) I am not that knowledgeable about the solr architecture but if there is a way it can be done in a more elegant way I might be willing to put the extra time to code it.. Binkley, Peter wrote:

Re: Triggering snapshooter through web admin interface

2007-09-21 Thread Bill Au
Lance, do start a new thread if you run into this problem again and please include as much info as possible. Once a snapshot has been taken, the files it contains should not change so I am not sure why tar was telling you a file had changed while it was being copied. Bill On 9/19/07, Chris

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-21 Thread Bill Au
You are welcome. Bill On 9/21/07, Yu-Hui Jin [EMAIL PROTECTED] wrote: Bill, Thanks for the explanation. That helps my understanding on rsync and the replication in general. regards, -Hui On 9/20/07, Bill Au [EMAIL PROTECTED] wrote: The solr that you are referring to in your third

Re: a bug in commit script?

2007-09-21 Thread Bill Au
You should be able to run the latest version of the scripts against Solr 1.2. Just grab a copy for subversion: http://svn.apache.org/viewvc/lucene/solr/trunk/src/scripts/ Bill On 9/21/07, Yu-Hui Jin [EMAIL PROTECTED] wrote: Got it. So what's the easiest way to get this patch? Sorry i'm new

Re: clarification needed for the Ranking score

2007-09-21 Thread Walter Underwood
This would probably work, but the approach has a subtle flaw. If a query has one word that matches a lot of titles, but a phrase that matches a description, the best result will be shown far too low, after all the titles. A better approach is to weight the titles a bit higher than the

Re: Weird bug in query

2007-09-21 Thread Mike Klaas
On 21-Sep-07, at 1:44 AM, Alexandru Badiu wrote: Hello, I have a problem I'm not sure how to debug. I am running Solr 1.2.1 under Jetty. I have the following two queries: - q:articol_tag:pilonul ii AND articol_tag:facultative which returns x rows - q:articol_tag:facultative AND

RE: Strange behavior when searching with accents

2007-09-21 Thread Lance Norskog
I have no links but it can all be done with synonym tables. I'm sure somewhere on the net there are full lists of the Spanish regular and irregular verbs (verbs which do not follow the conjugation rules). Then using basic text processing you could generate all of the declensions for the most

Re: Scripts not working on cron - always asking for password

2007-09-21 Thread Mike Klaas
On 21-Sep-07, at 7:44 AM, Daniel Alheiros wrote: Hi Problem solved... I had to create a private/public key for my users and add it to the authorized_keys on my server... I've used instructions on this page, quite simple actually (after you know what you need to do...).

Re: olap with solr (math operations on facets)

2007-09-21 Thread Mike Klaas
On 21-Sep-07, at 8:27 AM, Rafael Rossini wrote: Hi all, I´m considering on doing something like a light-weight olap server with lucene/solr. To achieve that I´d have to do some math operantions on facets. Is that possible? For example, my documents would be a purchase row, like (id,

Re: olap with solr (math operations on facets)

2007-09-21 Thread Mike Klaas
On 21-Sep-07, at 2:42 PM, Rafael Rossini wrote: Thanks for the reply Mike. Is there any plans on doing some like this? Or some direction anyone could give? Probably the easiest thing to do is write a custom request handlers that iterates over the field cache and computes the statistics

Re: olap with solr (math operations on facets)

2007-09-21 Thread Rafael Rossini
Thanks for the reply Mike. Is there any plans on doing some like this? Or some direction anyone could give? []s Rossini On 9/21/07, Mike Klaas [EMAIL PROTECTED] wrote: On 21-Sep-07, at 8:27 AM, Rafael Rossini wrote: Hi all, I´m considering on doing something like a light-weight