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 you

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

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

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...). http://www.ece.uc

RE: Faceting question

2007-09-21 Thread Binkley, Peter
Hey, that's the shift in outlook I was talking about: if this were MySQL, that would be a work-around; in Solr, building multiple indexes for special purposes IS the elegant solution! (Though creating a new fieldtype that does the concatenation automatically from two or more other fields, like a co

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 commo

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 arti

jira 243

2007-09-21 Thread John Wang
hi guys: was wondering if there are any plans of merging this patch into svn. thanks -john

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

Re: a bug in commit script?

2007-09-21 Thread Bill Au
By the way, even though the commit script returns an error, it actually does send the commit to the Solr server. You can check the Solr server log file to verify that. So you don't need to do anything if you can live with the incorrect return code of the script. Bill On 9/21/07, Bill Au <[EMAIL

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 ne

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 refer

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 Hostet

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

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, J.R.R.|354

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 f

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

2007-09-21 Thread Daniel Alheiros
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...). http://www.ece.uci.edu/~chou/ssh-key.html Shouldn't this kind of informati

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 (ne

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 user

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

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=ipod&rows=0&facet=true&facet.limit=-1&fac > 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 sea

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 effe

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.

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

2007-09-21 Thread Daniel Alheiros
Sorry I forgot to tell I'm running Solr 1.2. On 21/9/07 13:02, "Daniel Alheiros" <[EMAIL PROTECTED]> 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 se

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 data_dir=/var/solr2-v1.2.0/home/d

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

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 i

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 as

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 rat