Re: DataImportHandler: regex debugging

2011-02-10 Thread Stefan Matheis
Jon, looks like you're (just) missing the transformer="RegexTransformer" in your entity-definition, like documented here: http://wiki.apache.org/solr/DataImportHandler#RegexTransformer Regards Stefan On Wed, Feb 9, 2011 at 9:16 PM, Jon Drukman wrote: > I am trying to use the regex transformer b

Tomcat6 and Log4j

2011-02-10 Thread Xavier Schepler
Hi, I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to $CATALINA_HOME/webapps/solr/WEB-INF/lib , then deleted the library “slf4j-jdk14-1.5.5.jar” from $CATALINA_HOME/webapps/solr/WEB-INF/lib, then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes. and created $CATALINA_H

Re: solr render biased search result

2011-02-10 Thread Jan Høydahl
You can do a lot with function queries. Only you know what the domain specific requirements are, so you should write application layer code to modify the Solr query based on the user profile to the one searching. Example for the 1950 movie lover you could do: q=goo bar&defType=dismax&bf=map(mov

Re: Tomcat6 and Log4j

2011-02-10 Thread Jan Høydahl
Have you tried to start Tomcat with -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 10. feb. 2011, at 09.41, Xavier Schepler wrote: > Hi, > > I added “slf4j-log4j12-1.5.5.jar” and “

Solr Cloud - shard replication

2011-02-10 Thread Hayden Stainsby
Hi all, I'm attempting to set up a simple Solr Cloud, right now almost directly from the tutorial at: http://wiki.apache.org/solr/SolrCloud I'm attempting to set up a simple 1 shard cloud, across two servers. I'm not sure I understand the architecture behind this, but what I'm after is two cop

Replication and newSearcher registerd > poll interval

2011-02-10 Thread dan sutton
Hi, If the replication window is too small to allow a new searcher to warm and close the current searcher before the new one needs to be in place, then the slaves continuously has a high load, and potentially an OOM error. we've noticed this in our environment where we have several facets on large

Re: Tomcat6 and Log4j

2011-02-10 Thread Xavier SCHEPLER
Thanks for your response. How could I do that ? > > From: Jan Høydahl > Sent: Thu Feb 10 11:01:15 CET 2011 > To: > Subject: Re: Tomcat6 and Log4j > > > Have you tried to start Tomcat with > -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/c

Re: Tomcat6 and Log4j

2011-02-10 Thread Markus Jelsma
Add it to the CATALINA_OPTS, on Debian systems you could edit /etc/default/tomcat On Thursday 10 February 2011 12:27:59 Xavier SCHEPLER wrote: > -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.pr > operties -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/m

Re: Tomcat6 and Log4j

2011-02-10 Thread Xavier SCHEPLER
I added it to /etc/default/tomcat6. What happened is that the same error message appeared twice in /var/log/tomcat6/catalina.out. Like the same file was loaded twice. -- Tous les courriers électroniques émis depuis la messag

Re: Tomcat6 and Log4j

2011-02-10 Thread Markus Jelsma
Oh, now looking at your log4j.properties, i believe it's wrong. You declared INFO as rootLogger but you use SOLR. -log4j.rootLogger=INFO +log4j.rootLogger=SOLR try again On Thursday 10 February 2011 09:41:29 Xavier Schepler wrote: > Hi, > > I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.

Re: Tomcat6 and Log4j

2011-02-10 Thread Markus Jelsma
Oh, and for sharing purposes; we use a configuration like this one. It'll have an info and error log and stores them next to Tomcat's own logs in /var/log/tomat on Debian systems (or whatever catalina.base is on other distros). log4j.rootLogger=DEBUG, info, error log4j.appender.info=org.apach

Re: Tomcat6 and Log4j

2011-02-10 Thread Xavier SCHEPLER
Yes thanks. This works fine : log4j.rootLogger=INFO, SOLR log4j.appender.SOLR=org.apache.log4j.DailyRollingFileAppender log4j.appender.SOLR.file=/home/quetelet_bdq/logs/bdq.log log4j.appender.SOLR.datePattern='.'-MM-dd log4j.appender.SOLR.layout=org.apache.log4j.PatternLayout log4j.appender.SO

Re: Solr Cloud - shard replication

2011-02-10 Thread Jan Høydahl
Hi, SolrCloud does not currently handle the indexing side at all. So you'll need to set up replication to tell Solr that node B should be a replica of node A. http://wiki.apache.org/solr/SolrReplication After you do this, you can push a document to node A, wait a minute to let it replicate to

Sharing a schema with multiple cores

2011-02-10 Thread Marc SCHNEIDER
Hi, I'm using Solr 1.4.1 and trying to share a schema among two cores. Here is what I did : solr.xml : conf/schema.xml conf/schema.xml Then in my solr.home (where solr.xml lives) I created a conf directory and put schema.x

Re: SolrCloud Feedback

2011-02-10 Thread Mark Miller
On Jan 20, 2011, at 12:49 AM, Grijesh wrote: > > Hi Mark, > > I was just working on SolrCloud for my R&D and I got a question in my Mind. > Since in SolrCloud the configuration files are being shared on all Cloud > instances and If I have different configuration files for different cores > then

solr.xml isn't loaded from classpath?

2011-02-10 Thread Nicholas Swarr
(may have double posted...apologies if it is) It seems like when "solr home" is absent, Solr makes an attempt to look a few other places to load its configuration. It will try to look for solrconfig.xml on the classpath as well. It doesn't seem like it makes any attempt to find solr.xml thoug

Restart SolR and not Tomcat

2011-02-10 Thread Jenny Arduini
Hello everybody, I use SolR with Tomcat, and I've this problem: I must to restart SolR without restart Tomcat and I must to do this operation on shell. I try to do this operation with this syntax but it doesn't give result: curl -u : http://localhost:8080/manager/text/reload?path=/solr How can

Re: SolrCloud Feedback

2011-02-10 Thread Jan Høydahl
Hi, I have so far just tested the examples and got a N by M cluster running. My feedback: a) First of all, a major update of the SolrCloud Wiki is needed, to clearly state what is in which version, what are current improvement plans and get rid of outdated stuff. That said I think there are ma

Wikipedia table of contents.

2011-02-10 Thread Dennis Gearon
Is there a detailed, perhaps alphabetical & hierarchical table of contents for all ether wikis on the sole site? Sent from Yahoo! Mail on Android

Re: Wikipedia table of contents.

2011-02-10 Thread Markus Jelsma
Yes but it's not very useful: http://wiki.apache.org/solr/TitleIndex On Thursday 10 February 2011 16:14:40 Dennis Gearon wrote: > Is there a detailed, perhaps alphabetical & hierarchical table of > contents for all ether wikis on the sole site? Sent > from Yahoo! Mail on Android -- Markus Jelsm

Writing on master while replicating to slave

2011-02-10 Thread Shane Perry
Hi, When a slave is replicating from the master instance, it appears a write lock is created. Will this lock cause issues with writing to the master while the replication is occurring or does SOLR have some queuing that occurs to prevent the actual write until the replication is complete? I've be

Re: Restart SolR and not Tomcat

2011-02-10 Thread Paul Libbrecht
Jenny, look inside the documentation of the manager application, I'm guessing you haven't activated the cross context and privileges in the server.xml to get this running. Or does it work with HTML in a browser? http://localhost:8080/manager/html paul Le 10 févr. 2011 à 16:07, Jenny A

Re: Sharing a schema with multiple cores

2011-02-10 Thread Marc SCHNEIDER
Ok I found the solution: First of all schema is an attribute of the core tag so it becomes: Also make sure the conf directory in your classpath or relative to the path from where you are launching solr. It is NOT relative to solr.xml path. Marc. On Thu, Feb 10, 2011 at 2:48 PM, Marc SCHNEIDER w

Re: Restart SolR and not Tomcat

2011-02-10 Thread Wilkes, Chris
Her URL has "/text/" in it for some reason, replace that with "html" like Paul has: curl -u : http://localhost:8080/manager/html/reload?path=/solr Alternatively if you have JMX access get the mbean with domain: Catalina name: //localhost/solr j2eeType: WebModule J2EEServer: none J2EE

Re: Restart SolR and not Tomcat

2011-02-10 Thread Jenny Arduini
If I execute this comand in shell: curl -u : http://localhost:8080/manager/html/reload?path=/solr I get this result: "http://www.w3.org/TR/html4/strict.dtd";> 401 Unauthorized