problem with parsering (using Tika) on remote glassfish

2012-02-22 Thread ola nowak
Hi all! I'm using Tika parser to index my files into Solr. I created my own parser (which extends XMLParser). It uses my own mimetype. I created a jar file which inside looks like this: src |-main |-some_packages |-MyParser.java |resources |-META-INF |-services

Re: Solr logging

2012-02-20 Thread ola nowak
Yep. I suppose it is. But I have several applications installed on glassfish and I want each one of them to write into separate file. And Your solution with this jvm option was redirecting all messages from all apps to one file. Does anyone knows how to accomplish that? On Mon, Feb 20, 2012 at 11

Re: Solr logging

2012-02-20 Thread ola nowak
I've already done that. What I'm more interested is if I can add log4j.xml to war and where to put to make it works On Mon, Feb 20, 2012 at 10:49 AM, darul wrote: > Yes, you can update your .war archive by adding/removing expected jars. > > -- > View this message in context: > http://lucene.4720

Re: Solr logging

2012-02-20 Thread ola nowak
Thanks a lot. I've added (and deleted) those libraries and now I don't get this messages to stdout :) I see that log4j is running and it can't find its config file. I wish I could add this to the solr.war. Is this possible? I want to avoid setting paramemeters in glassfish. Regards, Alex On Mon,

Solr logging

2012-02-20 Thread ola nowak
Hi, I want to set my Solr to use log4j and to write log messages into separate file instead of writing all on standard output. How can I do it? Which jars should I add? Where should I put log4j.xml file? Regards, Alex

How to get the time document was indexed?

2012-01-20 Thread ola nowak
Hi, I want to be able to tell when the document was indexed, so I could re-index it if it has changed in the meantime. Is there an easy way to do this? Or I have to manualy put the date in the document and add a new field in schema? Thanks, Alex

How to get the time document was indexed?

2012-01-20 Thread ola nowak
Hi, I want to be able to tell when the document was indexed, so I could re-index it if it has changed in the meantime. Is there an easy way to do this? Or I have to manualy put the date in the document and add a new field in schema? Thanks, Alex