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,

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 the

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 the

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:

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'

Re: Slave has random indexversion

2010-11-08 Thread Shalin Shekhar Mangar
On Fri, Nov 5, 2010 at 3:07 AM, accid ac...@gmx.net 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

Fixed value in dataimporthandler

2010-11-08 Thread Renato Wesenauer
Hi guys, I need to indexing some fields with fixed value. Example: Schema.xml field name=indativo type=boolean indexed=true stored=true/ I want to indexing the value 'false' fixed in the dataimporthandler. How do I do this? Thank you, Renato F. Wesenauer

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ahmet Arslan
I need to indexing some fields with fixed value. Example: Schema.xml field name=indativo type=boolean indexed=true stored=true/ I want to indexing the value 'false' fixed in the dataimporthandler. How do I do this? with TemplateTransformer

Re: Fixed value in dataimporthandler

2010-11-08 Thread Renato Wesenauer
Hi Ahmet Arslan, I'm using this in schema.xml: field name=secao type=cleannormalized_text indexed=true stored=true/ field name=indativo type=boolean indexed=true stored=true/ I'm using this in dataimporthandler: field column=secao xpath=/ROW/NomeSecaoMix / field column=indativo template=0 / The

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 renato.wesena...@gmail.com wrote: From: Renato Wesenauer renato.wesena...@gmail.com Subject: Re: Fixed value in

Re: Fixed value in dataimporthandler

2010-11-08 Thread Renato Wesenauer
Yes, I am. entity name=x processor=XPathEntityProcessor forEach=/ROW url=${f.fileAbsolutePath} transformer=TemplateTransformer 2010/11/8 Ahmet Arslan iori...@yahoo.com Did you add transformer=TemplateTransformer to your data-config.xml file? Also /solr/admin/dataimport.jsp is useful for

Re: Fixed value in dataimporthandler

2010-11-08 Thread Ahmet Arslan
Yes, I am. entity name=x processor=XPathEntityProcessor 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 Ken Stanley
On Mon, Nov 8, 2010 at 3:50 PM, Renato Wesenauer renato.wesena...@gmail.com wrote: Hi Ahmet Arslan, I'm using this in schema.xml: field name=secao type=cleannormalized_text indexed=true stored=true/ field name=indativo type=boolean indexed=true stored=true/ I'm using this in

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

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: 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/java