matser /slave issue on solr

2008-09-04 Thread dudes dudes
Hello All, I have taken the following steps to configure master and slave servers However, the slave doesn't seem to sync with the master... Please let me know what I have done wrong ,,, both are nightly version 2008-7-7 on ubuntu machine java 1.6 On the master machine: 1) the

Re: master/slave configuration

2008-09-04 Thread Shalin Shekhar Mangar
Hi Pragati, Query fired on master will only run on master. You need to query master/slave separately. Usually, people use a load balancer in front of the slaves to distribute queries and master is (usually) used only for indexing and the replication scripts automatically sync the slave with the

RE: master/slave configuration

2008-09-04 Thread Pragati Jain
Thanks :) -Original Message- From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 4:31 PM To: solr-user@lucene.apache.org Subject: Re: master/slave configuration Hi Pragati, Query fired on master will only run on master. You need to query

RE: Errors compiling laster solr 1.3 update

2008-09-04 Thread r.prieto
OK that's the problema :-) I forget to update the WebContent Libs Thanks all -Mensaje original- De: Grant Ingersoll [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 03 de septiembre de 2008 21:04 Para: solr-user@lucene.apache.org Asunto: Re: Errors compiling laster solr 1.3 update Did

feeding data

2008-09-04 Thread Cam Bazz
hello, is there no other way then making xml files and feeding those to solr? I just want to feed solr programmatically. - without xml Best.

Re: feeding data

2008-09-04 Thread Erik Hatcher
On Sep 4, 2008, at 8:27 AM, Cam Bazz wrote: hello, is there no other way then making xml files and feeding those to solr? I just want to feed solr programmatically. - without xml There are several options. You can feed Solr XML, or CSV, or use any of the Solr client APIs (though those use

RE: feeding data

2008-09-04 Thread Pragati Jain
Hi Cam You can also feed data through csv files or directly through database. Please have a look http://wiki.apache.org/solr/#head-98c3ee61c5fc837b09e3dfe3fb420491c9071be3 -Original Message- From: Cam Bazz [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 5:58 PM To:

Re: matser /slave issue on solr

2008-09-04 Thread Bill Au
On your slave, solr_hostname should be localhost and master_host should be the hostname of your master server Check out the following Wiki for a full description of the variables in scripts.conf: http://wiki.apache.org/solr/SolrCollectionDistributionScripts Bill On Thu, Sep 4, 2008 at 4:46

Luke handler questions

2008-09-04 Thread Otis Gospodnetic
Hi, I'm looking at an index with the Luke handler and see something that makes no sense to me: lst name=itemid str name=typestring/str str name=schemaI-SOl/str str name=indexI-SO-/str int name=docs1138826/int int name=distinct1138826/int lst name=topTerms int

Re: Luke handler questions

2008-09-04 Thread Yonik Seeley
On Thu, Sep 4, 2008 at 1:26 PM, Otis Gospodnetic [EMAIL PROTECTED] wrote: Note how docs # == distinct #. That looks good and makes sense - each document has a unique itemid. But then look at topTerms. What does number 2 represent there? I thought it was the term frequency. If so, then

Solr Slaves Sync

2008-09-04 Thread OLX - Pablo Garrido
Hello We have a 3 Solr Servers replication schema, one Master and 2 Slaves, commits are done every 5 minutes on the Master and an optimize is done once a day during midnight, snapshots are copied via rsync to Slaves are done every 10 minutes, we are facing serious problems when doing the

Re: Solr Slaves Sync

2008-09-04 Thread Matthew Runo
As far as I can tell, there is no need to remove a slave from a pool while performing the sync. It's all done in the background and doesn't change anything till the final commit/ is ran to open a new searcher. Thanks for your time! Matthew Runo Software Engineer, Zappos.com [EMAIL

Question about Data Types

2008-09-04 Thread Kashyap, Raghu
Hi, I have a use case where I need to define my own datatype (Money). Will something like this work? Are there any issues with this approach? Schema.xml fieldType name=money class=xyz.Money omitNorms=true / Thanks, Raghu Ps: We are using the trunk version of solr

Solr 1.3 RC 2

2008-09-04 Thread Grant Ingersoll
A Solr 1.3 release candidate is available at http://people.apache.org/~gsingers/solr/1.3-RC2/ Note, this is NOT an official release, but is pretty close. Thus, if you have the time and inclination, please download and provide feedback, preferably on solr-dev as to any issues you have. You

Questions on compound file format

2008-09-04 Thread Shalin Shekhar Mangar
Hi, What are the benefits/drawbacks of using the compound file format (useCompoundFiletrue/useCompoundFile)? From searching through Solr and Lucene wiki pages: 1. Using the compound file format drops the number of file descriptors needed. Any other benefits? 2. Indexing may be slower. What about

Re: solr is highlighting wrong words

2008-09-04 Thread Francisco Sanmartin
Researching more, it was already an issue. Sorry for the inconvenience. http://issues.apache.org/jira/browse/SOLR-42 Pako Francisco Sanmartin wrote: Highlighting in Solr has a strange behavior in some items. I attach an example to see if anyone can throw some light at it. Basically solr is

handling multiple multiple resources with single requestHandler

2008-09-04 Thread Aleksandar Bradic
Hi, Any ideas on how could we register single request handler for handling multiple (wildcarded) contexts/resource uri's ? (something like) : requestHandler name=/app/* class=solr.StandardRequestHandler requestHandler name=/app/*/query class=solr.StandardRequestHandler Current logic in

Re: distributed search mechanism

2008-09-04 Thread Eason . Lee
2008/8/31 Grégoire Neuville [EMAIL PROTECTED] Hi all, I've recently been working with the distributed search capabilities of solr to build a web portal ; all is working fine, but it is now time for me to describe my work on a theoretical point of view. I've been trying to approximately

Re: Building a multilevel query.

2008-09-04 Thread Chris Hostetter
: I want to do a query that first queries on one specific field and : for all those that match the input do a second query. : : For example if we have a type field where one of the options : is user and a title fields includes the names of the users. : : So I want to find all data with type

Re: Question about Data Types

2008-09-04 Thread Chris Hostetter
: I have a use case where I need to define my own datatype (Money). : Will something like this work? Are there any issues with this approach? : fieldType name=money class=xyz.Money omitNorms=true / Assuming you have implemented a Java class named Money in the package xyz and you are