Searching for Solr Stop Words

2013-01-05 Thread Cool Techi
On of my solr fields is configured in the following manned, This works in cases where i don't want stemming, but now there is another use case which is causing a problem, people are beginning to seach for the following combinations, T

RE: Question about GC logging timestamps

2013-01-05 Thread Michael Ryan
>From my own experience, the timestamp seems to be logged at the start of the >garbage collection. -Michael

Re: SolrCloud and Join Queries

2013-01-05 Thread Otis Gospodnetic
Hi Hassan, Correct. If you have a single shard, then the query will execute the query on only one node and that is it. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Sat, Jan 5, 2013 at 9:06 AM, Hassan wrote: > Missed the replicationFactor parameter. Works great now. > http:/

Re: Frequent OOM - (Unknown source in logs).

2013-01-05 Thread Otis Gospodnetic
Out of curiosity, did you figure out the cause or did the OOMs just go away with a nightly build? Otis -- Solr & ElasticSearch Support http://sematext.com/ On Sat, Dec 29, 2012 at 8:08 PM, shreejay wrote: > Otis, > > As of now I have disabled caches. And we are hardly running any queries at

Re: Question about GC logging timestamps

2013-01-05 Thread Otis Gospodnetic
What is you write an app that creates lots of objects, connect to it with jconsole and try forcing/requesting gc. Or just do it from the app itself. Then you can log the start and stop time and correlate that with time in gc log. Otis Solr & ElasticSearch Support http://sematext.com/ On Jan 5, 20

custom solr sort

2013-01-05 Thread andy
Hi, Maybe this is an old thread or maybe it's different with previous one. I want to custom solr sort and pass solr param from client to solr server, so I implemented SearchComponent which named MySortComponent in my code, and also implemented FieldComparatorSource and FieldComparator. when I u

Re: Migrating from Solr 3.6.1 to Solr 4

2013-01-05 Thread Jorge Luis Betancourt Gonzalez
So, from my "php app point of view" if I have the desire of using solrcloud feautures changes will be needed right? One more thing the responses generated from solr4 are in any way different from the ones generated from solr3? Because solarium parses the JSON response from the server to provide

Java memory tuning advice - ignore what I used to say!

2013-01-05 Thread Shawn Heisey
I would like to offer a formal apology to anyone who has followed my memory tuning advice that includes the "-XX:NewRatio=1" option. I have lately learned that this setting is causing me a problem I didn't even know about - extremely long pauses during young generation (ParNew) GC, leading to

Re: background merge hit exception AND read past EOF: NIOFSIndexInput

2013-01-05 Thread Karan jindal
thanks otis, index was corrupted. On Sat, Jan 5, 2013 at 1:17 AM, Otis Gospodnetic wrote: > Sounds like you may have a corrupt index. Try running the CheckIndex tool. > > Otis > Solr & ElasticSearch Support > http://sematext.com/ > On Jan 3, 2013 8:59 AM, "Karan jindal" wrote: > > > Hi everyon

Re: SolrCloud and Join Queries

2013-01-05 Thread Hassan
Missed the replicationFactor parameter. Works great now. http://imm.io/RM66 Thanks a lot for you help, One last question. in terms of scalability, having this design of one collection per customer, with one shard and many replicas, A query will be handled by one shard (or replica) on one node o

Re: SolrCloud and Join Queries

2013-01-05 Thread Hassan
Thanks Per and Otis, It is much clearer now but I have a question about adding new solr nodes and collections. I have a dedicated zookeeper instance. Lets say I have uploaded my configuration to zookeeper using "zkcli" and named it, say, "configuration1". Now I want to create a new solrcloud f

Re: SolrCloud and Join Queries

2013-01-05 Thread Per Steffensen
Do you remember to add replicationFactor parameter when you create your "customer1" and "customer2" collections/shards? http://wiki.apache.org/solr/SolrCloud#Managing_collections_via_the_Collections_API (note that maxShardsPerNode and createNodeSet params are not available in 4.0.0, but will be

Re: SolrCloud and Join Queries

2013-01-05 Thread Hassan
Thanks Per and Otis, It is much clearer now but I have a question about adding new solr nodes and collections. I have a dedicated zookeeper instance. Lets say I have uploaded my configuration to zookeeper using "zkcli" and named it, say, "configuration1". Now I want to create a new solrcloud f

Question about GC logging timestamps

2013-01-05 Thread Shawn Heisey
I have a question about java GC logging. Here's a log entry that I'm looking at: 2013-01-04T16:37:32.694-0700: 101832.244: [GC 101832.244: [ParNew: 3722124K->419392K(3774912K), 9.1200100 secs] 5800224K->2591046K(7969216K), 9.1201970 secs] [Times: user=10.46 sys=45.66, real=9.12 secs] This

Re: Solr 3.6.2 or 4.0

2013-01-05 Thread vijeshnair
Thanks guyz, it really helps. I will now go ahead with my original plan of using 4.0 for this project, I should be able to update you guyz soon on this. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-6-2-or-4-0-tp4030527p4030842.html Sent from the Solr - User mailing

Re: Does solr cares about sections order in schema.xml?

2013-01-05 Thread Shawn Heisey
On 1/5/2013 2:32 AM, Alexandre Rafalovitch wrote: Does schema.xml has a formal XML schema? In other words, what are the restrictions on the order in which declarations inside the file happen. I have seen some examples where types come before fields and some where it is reversed. Some with copyFi

Re: Migrating from Solr 3.6.1 to Solr 4

2013-01-05 Thread Upayavira
Try pointing your app at 4.0. I converted an app recently. Here's the steps I took (as I recall): * get original solrconfig.xml for the release I'm using * diff that and my solrconfig.xml * apply those changes to a 4.0 solrconfig.xml * try to start up solr with this new solrconfig and an old s

Migrating from Solr 3.6.1 to Solr 4

2013-01-05 Thread Jorge Luis Betancourt Gonzalez
Hi: I'm currently working with solr 3.6.1, but solr 4 has great features like the ones bundled with SolrCloud, the content in the index is really not the problem to the transition, the thing is that I've a large app written in PHP + Solarium that interacts with the index in solr 3. As far as I