Re: SolrException log

2010-08-23 Thread Bastian Spitzer
? Do i have to call optimize more than once a day when i add maxOptimizedCommitsToKeep with a value of 1? can some1 please explain how this is supposed to work? -Ursprüngliche Nachricht- Von: Bastian Spitzer [mailto:bspit...@magix.net] Gesendet: Montag, 23. August 2010 16:40 An: solr-user

Re: SolrException log

2010-08-23 Thread Bastian Spitzer
opert IndexDeletionPolicy (SolrDeletionPolicy) in solrconfig.xml to handle this. My 2 cents, Tommaso 2010/8/11 Bastian Spitzer > Hi, > > we are using solr 1.4.1 in a master-slave setup with replication, > requests are loadbalanced to both instances. this is just working > fine, b

SolrException log

2010-08-11 Thread Bastian Spitzer
Hi, we are using solr 1.4.1 in a master-slave setup with replication, requests are loadbalanced to both instances. this is just working fine, but the slave behaves strange sometimes with a "SolrException log" (trace below). We are using 1.4.1 for weeks now, and this has happened only a few times s

AW: AW: solr query result not read the latest xml file

2010-08-10 Thread Bastian Spitzer
you can check the admin panel to see if there are pending deletes/commits in the statistics section. older versions of post.jar dont auto-commit the changes, so if your xml doesnt contain a you could just create a commit.xml containing only the following: and send it via post.jar. you can al

AW: solr query result not read the latest xml file

2010-08-10 Thread Bastian Spitzer
make sure you send a after add/delete to make the changes visible. -Ursprüngliche Nachricht- Von: e8en [mailto:e...@tokobagus.com] Gesendet: Dienstag, 10. August 2010 10:04 An: solr-user@lucene.apache.org Betreff: Re: solr query result not read the latest xml file I already set in my s

AW: how to support "implicit trailing wildcards"

2010-08-09 Thread Bastian Spitzer
Wildcard-Search is already built in, just use: ?q=umoun* ?q=mounta* -Ursprüngliche Nachricht- Von: yandong yao [mailto:yydz...@gmail.com] Gesendet: Montag, 9. August 2010 15:57 An: solr-user@lucene.apache.org Betreff: how to support "implicit trailing wildcards" Hi everyone, How to su

AW: Migrating from Lucene 2.9.1 to Solr 1.4.0 - Performance issues under heavy load

2010-08-04 Thread Bastian Spitzer
Im not sure if i understand your problem, but basicly it isnt Solr vs Lucene but HttpURLConnection vs Solrj's CommonsHttpSolrServer, because Server Query Times havent changed at all from what u say? Why arent you querying the Server the same way you did before when u want to compare solr to lu

AW: Facets on multiple values

2010-07-29 Thread Bastian Spitzer
just define the keyword field as multivalued and add the keywords separatly, not as single-valued-string. cheers. -Ursprüngliche Nachricht- Von: Shishir Jain [mailto:shishir.j...@gmail.com] Gesendet: Donnerstag, 29. Juli 2010 17:10 An: solr-user@lucene.apache.org Betreff: Facets on mul

AW: logic required for newbie

2010-07-29 Thread Bastian Spitzer
You cant really. By searching you allways will find _documents_, and solr will return all their stored fields unless you specify which exact stored fields you want solr to return by passing "&fl=" parameter to your query. The only aproach i can think off is (mis)using highlighting, search for h

RE: java "GC overhead limit exceeded"

2010-07-26 Thread Bastian Spitzer
Hi, which version do you use? 1.4.1 is highly recommended since previous versions contained some bugs related to memory usage that could lead to memory leaks. i had this gc overhead limit in my setup as well. only workaround that helped was a dayly restart of all instances. with 1.4.1 this iss

RE: slave index is bigger than master index

2010-07-26 Thread Bastian Spitzer
as far as i know this is not needed, the optimized index is automatically replicated to the slaves. therefore something seems to be really wrong with your setup. maybe the slave index got corrupted for some reason? did u try deleting the data dir + slave restart for a fresh replicated index? may

AW: slave index is bigger than master index

2010-07-26 Thread Bastian Spitzer
Hi, are u calling on the master to finally remove deleted documents and merge the index files? once a day is recommended: http://wiki.apache.org/solr/SolrPerformanceFactors#Optimization_Considerations cheers -Ursprüngliche Nachricht- Von: Muneeb Ali [mailto:muneeba...@hotmail.com] G

AW: problem with storing??

2010-07-15 Thread Bastian Spitzer
Hi, did u send a at some time after adding documents? The added docs are "pending" to be added to the index until u finally commit then. You can see your pending added documents count in the statistics page in the admin panel cheers -Ursprüngliche Nachricht- Von: satya swaroop [mailt

RE: Problem with Wildcard searches in Solr

2010-07-13 Thread Bastian Spitzer
Hi, to use leading wildcards you may have a look at this one: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200910.mbox/%3c4ac4b71c.6040...@gmail.com%3e basicly u just put a ReversedWildcardFilterFactory in your config and u can use leading wildcards. good luck! -Ursprünglich

AW: Copy Date Field and/or Using DateMathParser in DataImportHandler

2010-07-12 Thread Bastian Spitzer
Hm seems i didnt read the 1st part of your Question:/ Forget what i just wrote. :) -Ursprüngliche Nachricht- Von: Bastian Spitzer [mailto:bspit...@magix.net] Gesendet: Montag, 12. Juli 2010 16:41 An: solr-user@lucene.apache.org Betreff: AW: Copy Date Field and/or Using DateMathParser

AW: Copy Date Field and/or Using DateMathParser in DataImportHandler

2010-07-12 Thread Bastian Spitzer
Hi Chantal, where is your Solr integrated? Where is this Date comin from? I personaly wouldnt use SOLR for such conversions, ist nice if there are such built-in features, but sticking to java/.net or whatever generates your documents seems much more comfortable. In Java f.e. this is just 2 line

AW: Sort by Day - Use of DateMathParser in Function Query?

2010-07-09 Thread Bastian Spitzer
Hi Chantal, why dont you just add another Field to your Index where u put the Day only, you can sort by this filed then in your queries cheers. -Ursprüngliche Nachricht- Von: Chantal Ackermann [mailto:chantal.ackerm...@btelligent.de] Gesendet: Freitag, 9. Juli 2010 11:45 An: solr-user@

AW: Some issues concerning SOLR 1.4.1

2010-06-29 Thread Bastian Spitzer
What i forgot to mention is that those Errors only occur on the Slave, the Master is working just fine. Ram/Hardware/Java Version/Config/Startup parameters etc. are exactly the same on both Machines. -Ursprüngliche Nachricht- Von: Bastian Spitzer [mailto:bspit...@magix.net] Gesendet

Some issues concerning SOLR 1.4.1

2010-06-29 Thread Bastian Spitzer
Hi, We just migrated from SOLR 1.4 to 1.4.1. We are observing some new Errors in the logs that didnt occured before the migration, so we want to share them with you and are hoping to get some help solving them. We are using 1Master and 1Slave with replication on 2 different machines running only