RE: solr init.d script

2010-11-08 Thread Eric Martin
Er, what flavor? RHEL / CentOS #!/bin/sh # Starts, stops, and restarts Apache Solr. # # chkconfig: 35 92 08 # description: Starts and stops Apache Solr SOLR_DIR="/var/solr" JAVA_OPTIONS="-Xmx1024m -DSTOP.PORT=8079 -DSTOP.KEY=mustard -jar start.jar" LOG_FILE="/var/log/solr.log" JAVA="/usr/bin/ja

solr init.d script

2010-11-08 Thread Nikola Garafolic
Hi, Does anyone have some kind of init.d script for solr, that can start, stop and check solr status? -- Nikola Garafolic SRCE, Sveucilisni racunski centar tel: +385 1 6165 804 email: nikola.garafo...@srce.hr

RE: Tomcat special character problem

2010-11-08 Thread Yuval Feinstein
Tomcat is notorious for not having the defaults right for UTF-8. Em, I suggest you go over the suggestions in: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding Also, maybe you can use wget/curl to issue your http requests from a shell which is better suited for the encoding. -- Yuval -Ori

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ken Stanley
On Mon, Nov 8, 2010 at 3:50 PM, Renato Wesenauer wrote: > > Hi Ahmet Arslan, > > I'm using this in schema.xml: > stored="true"/> > > > I'm using this in dataimporthandler: > > > > The indexing process work correctly, but it's happening something wrong with > the results of queries. > > All que

Re: Solr Git Tags

2010-11-08 Thread Mauricio Scheffer
AFAICT the new SVN trunk doesn't have any tags either (or history): http://svn.apache.org/viewvc/lucene/dev/tags/ If you're seeking 1.4.1 I'd use the old SVN repo. http://svn.apache.org/viewvc/lucene/solr/tags/release-1.4.1/ -- Mauricio On Mon, Nov 8, 2010 at 2:42 PM, Will Milspec wrote: > Hi

Re: Replication and ignored fields

2010-11-08 Thread Shalin Shekhar Mangar
On Fri, Nov 5, 2010 at 2:30 PM, Jan Høydahl / Cominvent wrote: > > How about hooking in  Andrzej's pruning tool at the postCommit event, > literally removing unused fields. I believe a "commit" is fired on the slave > by itself after every successful replication, to put > the index live. You cou

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ahmet Arslan
> Yes, I am. > > forEach="/ROW" > url="${f.fileAbsolutePath}" > transformer="TemplateTransformer"> Can you post numFound values of these three queries: q=indativo:true q=indativo:false q=secao:"accessories for cars"

Re: Fixed value in dataimporthandler

2010-11-08 Thread Renato Wesenauer
Yes, I am. 2010/11/8 Ahmet Arslan > Did you add transformer="TemplateTransformer" to your data-config.xml file? > > Also /solr/admin/dataimport.jsp is useful for debugging. > > --- On Mon, 11/8/10, Renato Wesenauer wrote: > > > From: Renato Wesenauer > > Subject: Re: Fixed value in dataimpo

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ahmet Arslan
Did you add transformer="TemplateTransformer" to your data-config.xml file? Also /solr/admin/dataimport.jsp is useful for debugging. --- On Mon, 11/8/10, Renato Wesenauer wrote: > From: Renato Wesenauer > Subject: Re: Fixed value in dataimporthandler > To: solr-user@lucene.apache.org > Date: M

Re: Fixed value in dataimporthandler

2010-11-08 Thread Renato Wesenauer
Hi Ahmet Arslan, I'm using this in schema.xml: I'm using this in dataimporthandler: The indexing process work correctly, but it's happening something wrong with the results of queries. All queries with some field with 2 words or more, plus the field "indativo:true", it isn't returning any r

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ahmet Arslan
> I need to indexing some fields with fixed value. > > Example: > > Schema.xml > stored="true"/> > > I want to indexing the value 'false' fixed in the > dataimporthandler. How do > I do this? with TemplateTransformer http://wiki.apache.org/solr/DataImportHandlerFaq#How_would_I_insert_a_static

Fixed value in dataimporthandler

2010-11-08 Thread Renato Wesenauer
Hi guys, I need to indexing some fields with fixed value. Example: Schema.xml I want to indexing the value 'false' fixed in the dataimporthandler. How do I do this? Thank you, Renato F. Wesenauer

Re: Slave has random indexversion

2010-11-08 Thread Shalin Shekhar Mangar
On Fri, Nov 5, 2010 at 3:07 AM, accid wrote: > Hi, > > when I delete the /data directory and restart the slave, it creates a > random > indexversion number, which can be higher than the master indexversion > number. If the newly started slave has a higher number than the master, a > replication i

Solr Git Tags

2010-11-08 Thread Will Milspec
Hi all, (This question is more oriented to the developer but may find relevant to the solr user interested in perusing the source) I've cloned the git lucene-solr repository and was surprised to find no tags. empty here: http://git.apache.org/lucene-solr.git/refs/tags/ Whereas the 'older' git

Geospatial search w/polygon bounding box?

2010-11-08 Thread Jonathan Gill
Hi- Based on my limited but growing understanding of bounding box spatial filtering in Solr, I think I know the answer to my question, but I¹m looking for confirmation. Is there a way to specify a polygon bounding box for spatial searches? If so, is there a limit to the number of points that def

SV: ContentStreamDataSource

2010-11-08 Thread Theodor Tolstoy
I got it to work. There was an error in the requestHandler section in the solrconfig. Too bad I had to try almost every possible way to make http POST requests in .NET before realizing that... For future reference, here is my solution: //Example url: http://solrserver/solr/datapush?command=full

Re: Adding new field after data is already indexed

2010-11-08 Thread Marc Sturlese
>> and i index data on the basis of these fields. Now, incase i need to add a new field, is there a way i can >> add the field without corrupting the previous data. Is there any feature which adds a new field with a >> default value to the existing records. You just have to add the new field in

Re: Adding new field after data is already indexed

2010-11-08 Thread Marc Sturlese
>> and i index data on the basis of these fields. Now, incase i need to add a new field, is there a way i can >> add the field without corrupting the previous data. Is there any feature which adds a new field with a >> default value to the existing records. You just have to add the new field in

Re: How do I this in Solr?

2010-11-08 Thread Varun Gupta
I haven't been able to work on it because of some other commitments. The MemoryIndex approach seems promising. Only thing I will have to check is the memory requirement as I have close to 2 million documents. Will let you know if I can make it work. Thanks a lot! -- Varun Gupta On Sat, Nov 6, 2