Re: solr 4.3 solrj generating search terms that return no results

2013-11-06 Thread dboychuck
Thanks Shawn! That makes sense now. I appreciate the response. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-4-3-solrj-generating-search-terms-that-return-no-results-tp4077137p4099615.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr 4.3 solrj generating search terms that return no results

2013-11-05 Thread Shawn Heisey
On 11/5/2013 10:22 PM, Shawn Heisey wrote: > If you do not want the *entire* string treated as a single term for the > query parser, then you cannot use escapeQueryChars. You'll need to > write your own code that is aware of the specific special characters > that you want to escape. If your query

Re: solr 4.3 solrj generating search terms that return no results

2013-11-05 Thread Shawn Heisey
On 11/5/2013 9:41 PM, dboychuck wrote: > I'm having the same issue with solrJ 4.5.1 > > If I use the escapeQueryChars() function on a string like "a b c" it is > escaping it to "a\+b\+c" which returns 0 results using edismax query parser. > However "a b c" returns results. A space is a special ch

Re: solr 4.3 solrj generating search terms that return no results

2013-11-05 Thread dboychuck
I'm having the same issue with solrJ 4.5.1 If I use the escapeQueryChars() function on a string like "a b c" it is escaping it to "a\+b\+c" which returns 0 results using edismax query parser. However "a b c" returns results. -- View this message in context: http://lucene.472066.n3.nabble.com/s

Re: [Solr 4.3] Search data from multiple cores with different document structure (same machine)

2013-10-25 Thread Erick Erickson
This is usually an app-layer function, i.e. you fire two queries from the app layer, one to each core and combine them as you please. One issue you will face is what "combine them as you please" means. The scores re NOT comparable, so do you interleave them? Group them in tabs? etc... Best, Erick

Re: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-10-18 Thread Jonatan Fournier
Hello, I still have this issue using Solr 4.4, removing firstSearcher queries did make the problem go away. Note that I'm using Tomcat 7 and that if I'm using my own Java application launching an Embedded Solr Server pointing to the same Solr configuration the server fully starts with no hang. W

RE: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-09-06 Thread Austin Rasmussen
: Do all of your cores have "newSearcher" event listners configured or just : 2 (i'm trying to figure out if it's a timing fluke that these two are stalled, or if it's something special about the configs) All of my cores have both the "newSearcher" and "firstSearcher" event listeners configured.

RE: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-09-06 Thread Chris Hostetter
: Sorry for the multi-post, seems like the .tdump files didn't get : attached. I've tried attaching them as .txt files this time. Interesting ... it looks like 2 of your cores are blocked in loaded while waiting for the searchers to open ... not clera if it's a deaklock or why though - in bot

Re: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-09-06 Thread Erick Erickson
bq: I'm actually not using the transaction log (or the NRTCachingDirectoryFactory); it's currently set up to use the MMapDirectoryFactory, This isn't relevant to whether you're using the update log or not, this is just how the index is handled. Look for something in your solrconfig.xml like:

RE: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-09-06 Thread Austin Rasmussen
"tlog" in the name of them. -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Friday, September 06, 2013 9:18 AM To: solr-user@lucene.apache.org Subject: Re: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core" bq: I'm act

Re: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-09-05 Thread Chris Hostetter
: I currently have Solr 4.3 set up with about 400 cores set to load upon : start up. When starting Solr with an empty index for each core, Solr is : able to load all of the cores and start up normally as expected. : However, after running a dataimport on all cores and restarting Solr, it : h

Re: Solr 4.3: Recovering from "Too many values for UnInvertedField faceting on field"

2013-09-05 Thread Dmitry Kan
We had a similar case for multivalued fields with a lot of unique values per field in some cases. Using facet.method=enum instead of facet.method=fc fixed the problem. Can run slower though. Dmitry On Tue, Sep 3, 2013 at 5:04 PM, Dennis Schafroth wrote: > We are harvesting and indexing bibliogr

Re: Solr 4.3: Recovering from "Too many values for UnInvertedField faceting on field"

2013-09-03 Thread Greg Preston
Our index is too large to uninvert on the fly, so we've been looking into using DocValues to keep a particular field uninverted at index time. See http://wiki.apache.org/solr/DocValues I don't know if this will solve your problem, but it might be worth trying it out. -Greg On Tue, Sep 3, 2013

Re: Solr 4.3 and above core swap

2013-08-19 Thread richardg
I commented out the lockType, so it should be using the default of native according to the documentation. There is nothing special about our file systems. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-3-and-above-core-swap-tp4084794p4085456.html Sent

Re: Solr 4.3 and above core swap

2013-08-16 Thread Shawn Heisey
On 8/16/2013 10:14 AM, richardg wrote: Thanks for the reply, no nothing else would be writing to the index, I'm sure it is a solrconfig setting but not sure which. Are you specifying the DirectoryFactory and/or lock type in your solrconfig.xml, and if so, what are they set to? Is your index o

Re: Solr 4.3 and above core swap

2013-08-16 Thread richardg
Thanks for the reply, no nothing else would be writing to the index, I'm sure it is a solrconfig setting but not sure which. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-3-and-above-core-swap-tp4084794p4085091.html Sent from the Solr - User mailing list archive at

Re: Solr 4.3 and above core swap

2013-08-16 Thread tamanjit.bin...@yahoo.co.in
Is any other source trying to write into your index when you try to reload it? If this was so, then I guess it would have locked up the index. Check for a write.lock file in your index directory. You can remove that file manually and then retry it. -- View this message in context: http://lucene

Re: Solr 4.3 log4j

2013-08-05 Thread Prasi S
I could see there is a change in the logging for solr from 4.3 onwards and the steps for setting it up right in tomcat. But this gives a problem while loading configurations to Zookeeper . Am i missing anything. On Mon, Aug 5, 2013 at 12:51 PM, Prasi S wrote: > It didn't work for both options.

Re: Solr 4.3 log4j

2013-08-05 Thread Prasi S
It didn't work for both options.. On Mon, Aug 5, 2013 at 12:19 PM, Shawn Heisey wrote: > On 8/5/2013 12:19 AM, Prasi S wrote: > > Im using solr 4.3 to setup solrcloud. I haev placed all jar files in a > > folder zoo-lib. I have also placed the jar fiels from > /solr/example/lib/ext > > to zoo-l

Re: Solr 4.3 log4j

2013-08-04 Thread Shawn Heisey
On 8/5/2013 12:19 AM, Prasi S wrote: > Im using solr 4.3 to setup solrcloud. I haev placed all jar files in a > folder zoo-lib. I have also placed the jar fiels from /solr/example/lib/ext > to zoo-lib folder. > > When I execute this command, > > java -classpath .;zoo-lib/* org.apache.solr.cloud.Z

Re: Solr 4.3 open a lot more files than solr 3.6

2013-07-19 Thread SolrLover
Did you try setting useCompoundFile to true in solrconfig.xml? Also, try using a lower mergeFactor which will result in fewer segments and hence fewer open files. Also, I assume you can set the limit using a ulimit command.. ex: ulimit -n20 -- View this message in context: http://lucen

Re: solr 4.3, autocommit, maxdocs

2013-07-15 Thread Jonathan Rochkind
Ah, thanks for this explanation. Although I don't entirely understand it, I am glad there is an expected explanation! This Solr instance is actually set up to be a replication master. It never gets searched itself, it just replicates to slaves that get searched. Perhaps some time in the past

Re: solr 4.3, autocommit, maxdocs

2013-07-15 Thread Jason Hellman
Jonathan, Please note the openSearcher=false part of your configuration. This is why you don't see documents. The commits are occurring, and being written to segments on disk, but they are not visible to the search engine because a Solr searcher class has not opened them for visibility. You

Re: solr 4.3 solrj generating search terms that return no results

2013-07-10 Thread dboychuck
solrQuery.setQuery(ClientUtils.escapeQueryChars(keyword)); It looks like using the solrj ClientUtils.escapeQueryChars function is escaping any spaces with %5C+ which returns 0 results at search time. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-4-3-solrj-generating-

Re: solr 4.3 solrj generating search terms that return no results

2013-07-10 Thread Shawn Heisey
On 7/10/2013 6:34 PM, dboychuck wrote: > I'm having trouble with solrj generating a query like &q=kohler%5C+k for the > search term 'Kohler k' > > I am using Solr 4.3 in cloud mode. When I remove the %5C everything is fine. > I'm not sure why the %5C is being added when I call > solrQuery.setQuery

Re: Solr 4.3 Pivot Performance Issue

2013-07-09 Thread solrUserJM
Hi Jack, Thanks for your answer. I upgraded Solr from 4.0.0 (LUCENE_40) to 4.3.0 (LUCENE_43), and later to solr 4.3.1. As result the pivot queries I had already running against solr 4.0.0 that were taking a few milisecs (100ms, 150ms), now, with solr 4.3.1, are taking arround 13 secs. An index o

RE: Solr 4.3 Master/Slave Issues

2013-07-06 Thread Cool Techi
400 > Subject: Re: Solr 4.3 Master/Slave Issues > From: erickerick...@gmail.com > To: solr-user@lucene.apache.org > > kill -9 is evil, you aren't certain what the state is afterwards, > so the presence of the lock file is not surprising.. > > solrconfig.xml has a commented-out

Re: Solr 4.3 Master/Slave Issues

2013-07-06 Thread Erick Erickson
server and take a long time, > so i do issue a kill -9 command. Any other suggestion to do this without > the locking. > > I would initiate a backup again and send the logs. > > regards, > Ayush > > > Date: Fri, 5 Jul 2013 19:40:12 +0530 > > Subject: Re: So

RE: Solr 4.3 Master/Slave Issues

2013-07-05 Thread Cool Techi
The normal tomcat shutdown doesn't stop the server and take a long time, so i do issue a kill -9 command. Any other suggestion to do this without the locking. I would initiate a backup again and send the logs. regards, Ayush > Date: Fri, 5 Jul 2013 19:40:12 +0530 > Subject: Re: Solr

Re: Solr 4.3 Master/Slave Issues

2013-07-05 Thread Shalin Shekhar Mangar
read dump of the process to pastebin or http://apaste.info/ ? > Regards, > > >> Date: Fri, 5 Jul 2013 16:49:24 +0530 >> Subject: Re: Solr 4.3 Master/Slave Issues >> From: shalinman...@gmail.com >> To: solr-user@lucene.apache.org >> >> This can mean mult

RE: Solr 4.3 Master/Slave Issues

2013-07-05 Thread Cool Techi
s not happening with our earlier setup of solr3.6 Regards, > Date: Fri, 5 Jul 2013 16:49:24 +0530 > Subject: Re: Solr 4.3 Master/Slave Issues > From: shalinman...@gmail.com > To: solr-user@lucene.apache.org > > This can mean multiple things: > 1. You had killed a solr process

Re: Solr 4.3 Master/Slave Issues

2013-07-05 Thread Shalin Shekhar Mangar
This can mean multiple things: 1. You had killed a solr process earlier which left the lock file in place 2. You have more than one Solr core pointing to the same data directory 3. A solr process is already running and you are trying to start another one with the same config. On Fri, Jul 5, 2013 a

Re: Solr 4.3 Pivot Performance Issue

2013-07-02 Thread Jack Krupansky
What is the nature of your degradation? -- Jack Krupansky -Original Message- From: solrUserJM Sent: Tuesday, July 02, 2013 4:22 AM To: solr-user@lucene.apache.org Subject: Solr 4.3 Pivot Performance Issue Hi There, I notice with the upgrade from solr 4.0 to solr 4.3 that we had a deg

Re: Solr 4.3 problems with embedded jetty from maven cargo

2013-06-25 Thread Alexandre Rafalovitch
On Tue, Jun 25, 2013 at 11:03 AM, Daniel Exner wrote: > I'm currently trying to build a adept my Solr Maven Project to version > 4.3 but it keeps complaining about missing SLF4j jars. Have you gone through the page describing logging issues: https://wiki.apache.org/solr/SolrLogging . It is been a

Re: Solr 4.3 Spatial clustering?

2013-06-12 Thread bbarani
check this link.. http://stackoverflow.com/questions/11319465/geoclusters-in-solr -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-3-Spatial-clustering-tp4069941p4069986.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 4.3 - Schema Parsing Failed: Invalid field property: compressed

2013-06-10 Thread Shalin Shekhar Mangar
That is because starting with 4.3, Solr started throwing errors if the schema had an illegal field parameter. See https://issues.apache.org/jira/browse/SOLR-4641 On Tue, Jun 11, 2013 at 12:05 AM, Uomesh wrote: > I am upgrading from Solr 4.2 to 4.3. Till 4.2 i was not seeing any error. > > Than

Re: Solr 4.3 - Schema Parsing Failed: Invalid field property: compressed

2013-06-10 Thread Uomesh
I am upgrading from Solr 4.2 to 4.3. Till 4.2 i was not seeing any error. Thanks, Umesh On Mon, Jun 10, 2013 at 2:41 AM, André Widhani [via Lucene] < ml-node+s472066n4069276...@n3.nabble.com> wrote: > From what version are you upgrading? The compressed attribute is > unsupported since the 3.x r

Re: Solr 4.3 with Internationalization.

2013-06-05 Thread bbarani
Check out this http://stackoverflow.com/questions/5549880/using-solr-for-indexing-multiple-languages http://wiki.apache.org/solr/LanguageAnalysis#French French stop words file (sample): http://trac.foswiki.org/browser/trunk/SolrPlugin/solr/multicore/conf/stopwords-fr.txt Solr includes three stem

RE: solr 4.3: write.lock is not removed

2013-05-30 Thread Zhang, Lisheng
vel, with some warning messages. It seems that in solr.xml, dataDir is not defined? Thanks very much for helps, Lisheng -Original Message- From: Zhang, Lisheng [mailto:lisheng.zh...@broadvision.com] Sent: Thursday, May 30, 2013 10:57 AM To: solr-user@lucene.apache.org Subject: RE: solr

RE: solr 4.3: write.lock is not removed

2013-05-30 Thread Zhang, Lisheng
, Lisheng -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, May 30, 2013 11:35 AM To: solr-user@lucene.apache.org Subject: Re: solr 4.3: write.lock is not removed : I recently upgraded solr from 3.6.1 to 4.3, it works well, but I noticed that

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Jonathan Rochkind
Okay, for posterity: I did manage to get it working. It WAS lack of the logging files. First, the only way I could manage to get Tomcat6 to log an actual stacktrace for the "Error filterStart" was to _delete_ my CATALINA_HOME/conf/logging.properties file. Apparently without this file at all,

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Shawn Heisey
On 5/30/2013 1:19 PM, Jonathan Rochkind wrote: Okay, sadly, i still can't get this to work. Following the instructions at: https://wiki.apache.org/solr/SolrLogging#Using_the_example_logging_setup_in_containers_other_than_Jetty I copied solr/example/lib/ext/*.jar into my tomcat's ./lib, and cop

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Jonathan Rochkind
Okay, sadly, i still can't get this to work. Following the instructions at: https://wiki.apache.org/solr/SolrLogging#Using_the_example_logging_setup_in_containers_other_than_Jetty I copied solr/example/lib/ext/*.jar into my tomcat's ./lib, and copied solr/example/resources/log4j.properties ther

Re: solr 4.3: write.lock is not removed

2013-05-30 Thread Chris Hostetter
: I recently upgraded solr from 3.6.1 to 4.3, it works well, but I noticed that after finishing : indexing : : write.lock : : is NOT removed. Later if I index again it still works OK. Only after I shutdown Tomcat : then write.lock is removed. This behavior caused some problem like I could

RE: solr 4.3: write.lock is not removed

2013-05-30 Thread Zhang, Lisheng
for helps, Lisheng -Original Message- From: Zhang, Lisheng [mailto:lisheng.zh...@broadvision.com] Sent: Thursday, May 30, 2013 10:57 AM To: solr-user@lucene.apache.org Subject: RE: solr 4.3: write.lock is not removed Hi, We just use CURL from PHP code to submit indexing req

RE: solr 4.3: write.lock is not removed

2013-05-30 Thread Zhang, Lisheng
-Original Message- From: bbarani [mailto:bbar...@gmail.com] Sent: Thursday, May 30, 2013 9:45 AM To: solr-user@lucene.apache.org Subject: Re: solr 4.3: write.lock is not removed How are you indexing the documents? Are you using indexing program? The below post discusses the same issue

Re: solr 4.3: write.lock is not removed

2013-05-30 Thread bbarani
How are you indexing the documents? Are you using indexing program? The below post discusses the same issue.. http://lucene.472066.n3.nabble.com/removing-write-lock-file-in-solr-after-indexing-td3699356.html -- View this message in context: http://lucene.472066.n3.nabble.com/solr-4-3-write-lo

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Shawn Heisey
On 5/30/2013 9:26 AM, Jonathan Rochkind wrote: Thanks! I guess I should have asked on-list BEFORE wasting 4 hours fighting with it myself, but I was trying to be a good user and do my homework! Oh well. Off to the logging instructions, hope I can figure them out -- if you could update the to

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Jonathan Rochkind
I'm going to add a note to http://wiki.apache.org/solr/SolrLogging , with the Tomcat sample "Error filterStart" error, as an example of something you might see if you have not set up logging. Then at least in the future, googling "solr tomcat error filterStart" might lead someone to the clue t

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Jonathan Rochkind
Thanks! I guess I should have asked on-list BEFORE wasting 4 hours fighting with it myself, but I was trying to be a good user and do my homework! Oh well. Off to the logging instructions, hope I can figure them out -- if you could update the tomcat instructions with the simplest possible way

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Shawn Heisey
> I am trying to get Solr installed in Tomcat, and having trouble. > When I start up tomcat, I get in the Tomcat log: > > > INFO: Deploying web application archive solr.war > May 29, 2013 3:59:40 PM org.apache.catalina.core.StandardContext start > SEVERE: Error filterStart > May 29, 2013 3:59:40

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Alexandre Rafalovitch
Usually tomcat errors with Solr 4.3 happen due to uncopied logging libraries. I would check if installing Solr 4.2.1 works and/or copy additional libraries in (search mailing list for this issue). However, I am not entirely sure that's the case here. It feels that perhaps the definition of the han

Re: Solr 4.3, Tomcat, "Error filterStart"

2013-05-30 Thread Steve Rowe
Hi Jonathan, Did you find ? Steve On May 30, 2013, at 10:10 AM, Jonathan Rochkind wrote: > I am trying to get Solr installed in Tomcat, and having trouble. > > I am trying to u

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-29 Thread Shalin Shekhar Mangar
On Thu, May 23, 2013 at 7:00 PM, AlexeyK wrote: > from what I understood from the code, for each 'add' command there is a > test > for a 'delete by query'. if there is an older dbq, it's run after the 'add' > operation if its version > 'add' version. > in my case, there are a lot of documents

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-29 Thread Shalin Shekhar Mangar
I have opened https://issues.apache.org/jira/browse/SOLR-4870 On Tue, May 28, 2013 at 5:53 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > This sounds like a bug. I'll open an issue. Thanks! > > > On Tue, May 28, 2013 at 2:29 PM, AlexeyK wrote: > >> The cluster state problem report

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-28 Thread Shalin Shekhar Mangar
This sounds like a bug. I'll open an issue. Thanks! On Tue, May 28, 2013 at 2:29 PM, AlexeyK wrote: > The cluster state problem reported above is not an issue - it was caused by > our own code. > Speaking about the update log - i have noticed a strange behavior > concerning > the replay. The re

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-28 Thread AlexeyK
The cluster state problem reported above is not an issue - it was caused by our own code. Speaking about the update log - i have noticed a strange behavior concerning the replay. The replay is *supposed* to be done for a predefined number of log entries, but actually it is always done for the whole

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-26 Thread Erick Erickson
Unfortunately I don't quite know the internals of this code well. I vaguely remember a problem with insuring that deletes were handled correctly, so this may be a manifestation of that fix. As I remember optimistic locking is mixed up in this too. But all that means is that I really can't answer y

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler - ganzgraph gmbh
Hi, i'm totally confused ... DIH == DataImportHandler ... it's just an acronym, you say you aren't using DIH, but you are having a problem loading DIH, so DIH is used in your configs. sorry for the confusion. I was just trying to say: I use the example code from solr-4.3.0/example/solr and no

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Chris Hostetter
: I only SUSPECT of the MySQL driver being the culprit for the dataimporthandler : jar is not getting loaded. Not sure! the dataimporthandler *class* is not getting loaded the dataimporthandler *jar* is not getting loaded. : > MySql classes, i would check your lib settings for loading the DIH :

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler
Hi one of us is mistaken by what that error means. you say it means that the MySQL driver isn't being loaded, but nothing in your mail suggests to me that there is a problem loading hte MySql driver. what i see is that Solr can't seem to load the DIH class, suggesting that the dataimporthandle

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Chris Hostetter
: in my attempt to migrate for m 3.6.x to 4.3.0 I stumbled upon an issue loading : the MySQL driver from the [instance]/lib dir: : : Caused by: java.lang.ClassNotFoundException: : org.apache.solr.handler.dataimport.DataImportHandler one of us is mistaken by what that error means. you say it mea

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler - ganzgraph gmbh
Hi, thanx for pointing this out to me. 1152 [coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrConfig – Adding specified lib dirs to ClassLoader org.apache.solr.core.SolrResourceLoader – Adding 'file:/home/christian/zfmk/solr/solr-4.3.0/example/lib/mysql-connector-java-5.1.25-bin.j

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Shawn Heisey
On 5/23/2013 6:25 AM, Christian Köhler wrote: > in my attempt to migrate for m 3.6.x to 4.3.0 I stumbled upon an issue > loading the MySQL driver from the [instance]/lib dir: > > Caused by: java.lang.ClassNotFoundException: > org.apache.solr.handler.dataimport.DataImportHandler The best thing to

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-23 Thread AlexeyK
the hard commit is set to about 20 minutes, while ram buffer is 256Mb. We will add more frequent hard commits without refreshing the searcher, that for the tip. from what I understood from the code, for each 'add' command there is a test for a 'delete by query'. if there is an older dbq, it's run

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-23 Thread Jan Høydahl
Huge tlogs seems to be a common problem. Should we make it flush automatically on huge file size? Could be configurable on the tag? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com 23. mai 2013 kl. 14:03 skrev Erick Erickson : > Tangential to the issue you raise is th

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Jack Krupansky
Check the Solr log on startup - it will explicitly state which lib directories/files will be used. Make sure they agree with where the DIH jars reside. Keep in mind that the directory structure of Solr changed - use the lib from 4.3 solrconfig. Try to use DIH in the standard Solr 4.3 example f

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-23 Thread Erick Erickson
Tangential to the issue you raise is that this is a huge tlog. It indicates that you aren't doing a hard commit (openSearcher=false) very often. That operation will truncate your tlog which should speed recovery/startup. You're also chewing up some memory with a tlog that size since pointers to the

Re: Solr 4.3: node is seen as active in Zk while in recovery mode + endless recovery

2013-05-23 Thread AlexeyK
a small change: it's not an endless loop, but a painfully slow processing which includes running a delete query and then insertion. Each document from the tlog takes tens of seconds to process (more than 100 times slower than during normal insertion process) -- View this message in context: htt

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-09 Thread William Pierce
because I had mistakenly left a copy of the jars under tomcat/lib. Bill -Original Message- From: Jan Høydahl Sent: Thursday, May 09, 2013 2:58 AM To: solr-user@lucene.apache.org Subject: Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml My

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-09 Thread Jan Høydahl
> at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-08 Thread William Pierce
ay 08, 2013 3:42 PM To: solr-user@lucene.apache.org Subject: Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml Why did you place solr.war in tomcat/lib? Can you detail the specific errors you get when you place your DIH jars in solr-home/lib or instan

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-08 Thread Jan Høydahl
age- From: Alexandre Rafalovitch > Sent: Wednesday, May 08, 2013 11:12 AM > To: solr-user@lucene.apache.org > Subject: Re: Solr 4.3 fails in startup when dataimporthandler declaration is > included in solrconfig.xml > > Could be classloader issue. E.g. the jars in tomcat/lib not v

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-08 Thread Alexandre Rafalovitch
with appropriate declarations in the > solrconfig.xml. I can see the jars being loaded in the logs. But neither > configuration seems to work. > > Bill > > -Original Message- From: Alexandre Rafalovitch > Sent: Wednesday, May 08, 2013 11:12 AM > To: solr-user@lucene.

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-08 Thread William Pierce
: Alexandre Rafalovitch Sent: Wednesday, May 08, 2013 11:12 AM To: solr-user@lucene.apache.org Subject: Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml Could be classloader issue. E.g. the jars in tomcat/lib not visible to whatever is trying to load DIH

Re: Solr 4.3 fails in startup when dataimporthandler declaration is included in solrconfig.xml

2013-05-08 Thread Alexandre Rafalovitch
Could be classloader issue. E.g. the jars in tomcat/lib not visible to whatever is trying to load DIH. Have you tried putting those jars somewhere else and using "lib" directive in solrconfig.xml instead to point to them? Regards, Alex. On Wed, May 8, 2013 at 2:07 PM, William Pierce wrote: > I

Re: Solr 4.3 and SLF4j

2013-05-06 Thread Mark Miller
You need all the same jars that are in the lib/ext folder of the default jetty distribution. Those are the logging jars, those are what you need. All you can do is swap out impls (see the SLF4j documentation). You must have all those jars as a start, and if you don't want to use log4j, you can s

Re: Solr 4.3: Too late to improve error messages?

2013-04-24 Thread Alexandre Rafalovitch
Thanks Shawn, I will create a JIRA. I just wasn't sure if there was another RC afterwards and it could fit in there. Not very familiar with process yet. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality

Re: Solr 4.3: Too late to improve error messages?

2013-04-24 Thread Shawn Heisey
On 4/24/2013 5:02 PM, Alexandre Rafalovitch wrote: I am testing 4.3rc3. It looks ok, but I notice that some log messages could be more informative. For example: 680 [coreLoadExecutor-3-thread-3] WARN org.apache.solr.schema.IndexSchema – schema has no name! Would be _very nice_ to know which cor

Re: SOLR 4.3

2013-04-24 Thread William Bell
OK I did not see it on the latest 4.3 RC3. On Wed, Apr 24, 2013 at 4:52 AM, Jan Høydahl wrote: > As you can see on the issue, it is already fixed for 4.3 > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > Solr Training - www.solrtraining.com > > 24. apr. 2013 k

Re: SOLR 4.3

2013-04-24 Thread Jan Høydahl
As you can see on the issue, it is already fixed for 4.3 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com 24. apr. 2013 kl. 07:02 skrev William Bell : > Can we get this in please to 4.3? > > https://issues.apache.org/jira/browse/SOL