Re: Geo question: Need distance from a lat/lon from SOLR query

2008-06-13 Thread Shalin Shekhar Mangar
There's a solr integration already available -- LocalSolr http://locallucene.wiki.sourceforge.net/ http://locallucene.wiki.sourceforge.net/LocalSolr+(R1.5) On Sat, Jun 14, 2008 at 6:18 AM, Rich Rein <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm a newbie to this group. > > > > What is the best wa

Re: Geo question: Need distance from a lat/lon from SOLR query

2008-06-13 Thread Otis Gospodnetic
I think locallucene is the thing to user and watch (you didn't hear that here first). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Rich Rein <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Cc: [EMAIL PROTECTED] > Sent: Frida

Geo question: Need distance from a lat/lon from SOLR query

2008-06-13 Thread Rich Rein
Hi all, I'm a newbie to this group. What is the best way to build a SOLR service with geo-location? Would that be locallucene? Also what are the issues with integrating locallucene with SOLR? Is there a better solution altogether? Thanks, Rich

RE: scaling / sharding questions

2008-06-13 Thread Lance Norskog
Yes, I've done this split-by-delete several times. The halved index still uses as much disk space until you optimize it. As to splitting policy: we use an MD5 signature as our unique ID. This has the lovely property that we can wildcard. 'contentid:f*' denotes 1/16 of the whole index. This 1/16 i

Re: scaling / sharding questions

2008-06-13 Thread Jeremy Hinegardner
Hi, I agree, there is definitely no generic answer, the best sources I can find so far, relating to performance are: http://wiki.apache.org/solr/SolrPerformanceData http://wiki.apache.org/solr/SolrPerformanceFactors http://wiki.apache.org/lucene-java/ImproveIndexingSpeed http://wiki.apach

Re: what is null value behavior in function queries?

2008-06-13 Thread Chris Hostetter
: is there some way to change this default value (preferably from outside via : a properties file or something similar) It's based on the FieldCache, which thinking about it a bit: the defualts come from the default values of int[], float[], etc... I seem to recall a discussion in the past abo

Re: scaling / sharding questions

2008-06-13 Thread Jeremy Hinegardner
Sorry for not keeping this thread alive, lets see what we can do... One option I've thought of for 'resharding' would splitting an index into two by just copying it, the deleting 1/2 the documents from one, doing a commit, and delete the other 1/2 from the other index and commit. That is: 1) T

Re: how to get the count of returned results

2008-06-13 Thread Chris Hostetter
: I am using a servlet filter to alter the query parms sent to the solr , : now I have a problem where I want to take some extra action (like drop some : query terms or filters ) if the current query returns no reults. FWIW: you're probably better off implementing this as a plugin -- either as a

Re: Seeking Feedback: non back compat for Java API of 3 FilterFactories in 1.3?

2008-06-13 Thread Brendan Grainger
Same here. I took a look at the options you from the dev list and seems to me (3) user education should be fine. Thanks for all the great work. Brendan On Jun 13, 2008, at 4:37 PM, Brian Johnson wrote: FWIW - I have no problem with the change. Thanks, Brian - Original Message Fr

Re: Seeking Feedback: non back compat for Java API of 3 FilterFactories in 1.3?

2008-06-13 Thread Brian Johnson
FWIW - I have no problem with the change. Thanks, Brian - Original Message From: Walter Underwood <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, June 13, 2008 11:38:27 AM Subject: Re: Seeking Feedback: non back compat for Java API of 3 FilterFactories in 1.3? We us

Re: Problems using multicore

2008-06-13 Thread Chris Hostetter
: I am getting problems running Solr-1.3-trunk with multicores. : : My multicore.xml file is: : : : : : : I have solr.home pointing the directory containing it. what exactly is that directory? what does "ls -al" in that direcory show you? what UID is weblogic running as? when

Re: Memory problems when highlight with not very big index

2008-06-13 Thread Yonik Seeley
On Fri, Jun 13, 2008 at 3:30 PM, Roberto Nieto <[EMAIL PROTECTED]> wrote: > The part that i can't understand very well is why if i desactivate > highlighting the memory doesnt grows. > It only uses doc cache if highlighting is used or if content retrieve is > activated? Perhaps you are highlightin

Re: Memory problems when highlight with not very big index

2008-06-13 Thread Roberto Nieto
Thanks for your fast answer, I think i tried to put default size to 0 and the problems persist but i will probe it on Monday again. The part that i can't understand very well is why if i desactivate highlighting the memory doesnt grows. It only uses doc cache if highlighting is used or if content

QueryElevationComponent and forceElevation=true ?

2008-06-13 Thread Chris Hostetter
I don't know much about QueryElevationComponent but perusing the wiki docs and trying it out with teh example configs i noticed that this URL didn't produce the output i expected... http://localhost:8983/solr/elevate?q=ipod&fl=id,price&sort=price+asc&forceElevation=true&enableElevation=true&d

Re: Seeking Feedback: non back compat for Java API of 3 FilterFactories in 1.3?

2008-06-13 Thread Walter Underwood
We use it out of the box. Our extensions are new filters or new request handlers, all configured through the XML files. wunder On 6/13/08 11:15 AM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote: > > The Solr Developers would like some feedback from the user community > regarding some changes that

Re: Marking Elevation

2008-06-13 Thread Chris Hostetter
: Id like to use elevate.xml and the component to simulate a GSA "KeyMatch" : function (ie type in A get B back always) but it seems the elements are not : marked that they have been elevated. Is there any other way to accomplish : something like that w/o having to plug a Map into my SolrJ code?

Seeking Feedback: non back compat for Java API of 3 FilterFactories in 1.3?

2008-06-13 Thread Chris Hostetter
The Solr Developers would like some feedback from the user community regarding some changes that have been made to StopFilterFactory, SynonymFilterFactory, and EnglishProterFilterFactory since Solr 1.2 which breaks backwards compatibility in situations where client Java code directly construc

Re: Memory problems when highlight with not very big index

2008-06-13 Thread Yonik Seeley
On Fri, Jun 13, 2008 at 1:07 PM, Roberto Nieto <[EMAIL PROTECTED]> wrote: > It´s possible to only > allocate the 10 first results to make the snippet of only those results and > use less memory? That's how it currently works. But there is a Document cache to make things more efficient. If you hav

Memory problems when highlight with not very big index

2008-06-13 Thread Roberto Nieto
Hi users/developers, I´m new with solr and i have been reading the list for a few hours but i didn´t found anything to solve my doubt. I´m using 5GB index in a 2GB RAM maquine, and i´m trying to optimize the solr configuration for searching. I´ve have good searching times but when i activate highl

Re: Rsyncd start and stop for multiple instances

2008-06-13 Thread Bill Au
The rsyncd-start scripts gets the data_dir path from the command line and create a rsyncd.conf on the fly exporting the path as the rsync module named "solr". The salves need the data_dir path on the master to look for the latest snapshot. But the rsync command used by the slaves relies on the rs

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
Hi, yes, it is writable for tomcat. Thanks for trying to help Kjeld Stefan Oestreicher skrev: Unfortunately I'm neither a solr nor a tomcat expert. My setup is as follows: solr.xml in /etc/tomcat5.5/Catalina//solr.xml And my ? HTH, Stefan Oestreicher -- Dr. Maté GmbH Stefan Oestre

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Stefan Oestreicher
Unfortunately I'm neither a solr nor a tomcat expert. My setup is as follows: solr.xml in /etc/tomcat5.5/Catalina//solr.xml And my is /data/java/dev02 Is your solr.home writable by tomcat and outside of ? HTH, Stefan Oestreicher -- Dr. Maté GmbH Stefan Oestreicher / Entwicklung [E

Re: My First Solr

2008-06-13 Thread Mihails Agafonovs
Hi, Thomas! Please, can you give me instructions on how did you installed Solr on Tomcat? Quoting Thomas Lauer : HI, i have installed my first solr on tomcat. I have modify my shema.xml for my XML´s and I have import with the post.jar some xml files. tomcat runs solr/admin runs post.jar impor

AW: AW: My First Solr

2008-06-13 Thread Thomas Lauer
HI Brian thank you for help. Where are you from? Regards Thomas -Ursprüngliche Nachricht- Von: Brian Carmalt [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 13. Juni 2008 11:43 An: solr-user@lucene.apache.org Betreff: Re: AW: My First Solr No, you do not have to reindex. You do have to res

Re: AW: My First Solr

2008-06-13 Thread Brian Carmalt
No, you do not have to reindex. You do have to restart the server. The bf has fields listed that are not in your document: popularity, price. delete the bf field, you do not need it unless you want to use boost functions. Brian Am Freitag, den 13.06.2008, 10:36 +0200 schrieb Thomas Lauer: > ok

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
Hi, Same problem. Contextfile: value="/solr/example/solr" override="true"/> Output. 13-06-2008 11:36:20 org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() 13-06-2008 11:36:20 org.apache.solr.core.Config getInstanceDir INFO: JNDI not configured for Solr (NoIniti

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Stefan Oestreicher
Hi, I'm using tomcat5.5 too. I believe you need to specify override to be true. HTH, mit freundlichen Grüßen, Stefan Oestreicher -- Dr. Maté GmbH Stefan Oestreicher / Entwicklung [EMAIL PROTECTED] http://www.netdoktor.at Tel Buero: + 43 1 405 55 75 24 Fax Buero: + 43 1 405 55 75 55 Al

Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
Hi I'm using solr 1.2.0 on a Tomcat 5.5 engine And have copied a solr.xml in catalina_home/conf/hostname value="/solr/example/solr"/> And Tomcat certainly reads the solr.xml file, because solr is deployed fine. However it cannot find the environment property, because there is a javax.nami

AW: My First Solr

2008-06-13 Thread Thomas Lauer
ok, my dismax explicit 0.01 beschreibung^0.5 ordner^1.0 register^1.2 Benutzer^1.5 guid^10.0 mandant^1.1 beschreibung^0.2 ordner^1.1 register^1.5 manu^1.4 manu_exact^1.9 ord(poplarity)^0.5 recip(rord(price),1,1000,1000)^0.3

Re: My First Solr

2008-06-13 Thread Brian Carmalt
http://wiki.apache.org/solr/DisMaxRequestHandler In solrconfig.xml there are example configurations for the DisMax. Sorry I told you the wrong name, not enough coffee this morning. Brian. Am Freitag, den 13.06.2008, 09:40 +0200 schrieb Thomas Lauer:

AW: AW: AW: My First Solr

2008-06-13 Thread Thomas Lauer
Hi Brian, i don´t find any documentation or howto for the DisMaxQueryHandler? Regards Thomas -Ursprüngliche Nachricht- Von: Brian Carmalt [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 13. Juni 2008 08:52 An: solr-user@lucene.apache.org Betreff: Re: AW: AW: My First Solr The DisMaxQueryH