Re: Viewing the Solr MoinMoin wiki offline

2012-12-30 Thread Upayavira
I can ask this. If folks there are okay with it, I can produce the dump, but it is unlikely to be a service rather a one off. Upayavira On Sun, Dec 30, 2012, at 06:34 AM, Otis Gospodnetic wrote: > Hi, > > Sorry, by infra I meant ASF infrastructure people. There's a mailing list > and a JIRA proj

Re: Viewing the Solr MoinMoin wiki offline

2012-12-30 Thread Erik Hatcher
Here's a geeky way to do it yourself: Fire up Solr 4.x, run this from example/exampledocs: java -Ddata=web -Ddelay=2 -Drecursive=1 -jar post.jar http://wiki.apache.org/solr/ (although I do end up getting a bunch of 503's, so maybe this isn't very reliable yet?) Tada: http://localhost:8983/

Re: ZooKeeper ensemble behind load balancer

2012-12-30 Thread Marcin Rzewucki
Hi, Thanks for your replies. I don't change ZK hosts a lot of times. I'm using Amazon platform and if a ZK host is not available I will start new EC2 instance and will have to plug it to Solr configuration (restart required). In case of load balancer this would be much easier (no need to restart so

Re: ZooKeeper ensemble behind load balancer

2012-12-30 Thread Aloke Ghoshal
Hi Marcin, Since you are thinking of this in the context of Amazon, I would suggest taking a different route. Assign an Elastic IP (EIP) to each EC2 instance running the ZK node & use the EIP in Solr. This way you could easily map the EIP to a new EC2 instance subsequently, if required, and the ch

SolrJ | Add a date field to ContentStreamUpdateRequest

2012-12-30 Thread uwe72
Hi there, how can i add a date field to a pdf document? ContentStreamUpdateRequest up = new ContentStreamUpdateRequest("/update/extract"); up.addFile(pdfFile, "application/octet-stream"); up.setParam("literal." + SolrConstants.ID, solrPDFId); Regards Uwe -- View this message in conte

Re: SolrJ | Add a date field to ContentStreamUpdateRequest

2012-12-30 Thread Yury Kats
On 12/30/2012 11:57 AM, uwe72 wrote: > Hi there, > > how can i add a date field to a pdf document? Same way you add the ID field, using literal parameter. > >ContentStreamUpdateRequest up = new > ContentStreamUpdateRequest("/update/extract"); >up.addFile(pdfFile, "application/octet-stre

Re: ZooKeeper ensemble behind load balancer

2012-12-30 Thread Marcin Rzewucki
Right, that's a good idea. Thanks! On 30 December 2012 17:41, Aloke Ghoshal wrote: > Hi Marcin, > > Since you are thinking of this in the context of Amazon, I would suggest > taking a different route. Assign an Elastic IP (EIP) to each EC2 instance > running the ZK node & use the EIP in Solr. Th

Re: SolrJ | Add a date field to ContentStreamUpdateRequest

2012-12-30 Thread Yury Kats
On 12/30/2012 3:55 PM, uwe72 wrote: > but i can just add String values.i want to add Date objects?! You represent the Date as a String, in format Solr uses for dates: http://lucene.apache.org/solr/api-4_0_0-BETA/org/apache/solr/schema/DateField.html

Re: old index not cleaned up on the slave

2012-12-30 Thread Jason
Hi, Erick I didn't configure anything for index backup. My ReplicationHandler configuration is below. Other setting in solrconfig.xml is almost default. Is there a deletion policy for replication? I know "maxNumberOfBackups" parameter, but this is for master server. Are there any configuration for

Need Help in Delta DataImport Scheduler using stored procedure.

2012-12-30 Thread Pragyanshis Pattanaik
Hi , Please help how I can schedule a delta dataimport by using DIHS. Please note I have already followed the steps mentioned at below link. http://wiki.apache.org/solr/DataImportHandler#Scheduling still I am not able to succeed. Can anybody tell me can I send Last solr Indexed time as