Removing "out of sync" error in acts_as_solr

It could've been pretty straightforward removing this concerned item from the solr index and then everything would be well.. but its a lot harder than that if you're looking at over a thousand indexed elements vs their 'existing' counterparts in the database! Finding the exact data to remove was really the hardest part! I never knew this until I took the liberty of helping out our kind Infra Team to resolve the problem. I decided to tweak the solr parser method returning the "out of sync" error. I thought that it would actually be brilliant to just display the concerned element's id so that they could delete it from the index itself. And so, I had something like this: (in acts_as_solr/lib/parser_methods.rb) Read the rest of this entry

Hi, I've been busy you know. wink If you don't know yet, this site and my blog codes are hosted in . I recently moved to Git and found that they have support for private Git repositories. Below are details of my last git push.

Maricris S. Nonato on 14 Feb
Commit: 48fe3652ffb644af13f4a5651f9d80474b09f622

Adding new ad image for Pledgie campaign - campaign image for coderkitty fundraising
  • Reggie: the doble-kara singer contestant in Pilipinas Got Talent, you are awesome! smile 2010-03-20
  • dear mama, i would give you anything you ask, do anything for you, as long as you make me cups of hot tea everyday. smile #fb 2010-03-20
  • LivingLife :: The Space Between: Ambient music takes me to a point of silence and peace inside my head.  Someti... http://bit.ly/cg52Sj.. #fb 2010-03-20
  • false hopes. 2010-03-20
  • @AdeMagnaye ahahaha. that just made me laugh tongue 2010-03-20
  • i miss JP sad :( :( 2010-03-19
  • frustration on books/ebooks and ereaders kicking in.. sigh. got to get my mind off them for now 2010-03-19
  • i am worth more than how you see me. my faith and belief in it is greater today than yesterday #fb 2010-03-19
  • nice.. http://bit.ly/dAr1Co.. 2010-03-19
  • There can be no happiness if the things we believe in are different from the things we do. - Freya Stark #fb 2010-03-15
  • LivingLife :: My first cabby receipt: Today seems a normal day.  I have good vibes for today.  smile  At first I f... http://bit.ly/cAZJiL.. #fb 2010-03-15
  • would you believe that Filipinos "trust" Lea Salonga second to Rosa Rosal (in Reader's Digests' Who do you trust poll)? weird. 2010-03-12
  • have you seen a chinese owl? i can't get this image out of my head: http://bit.ly/czilyD.. 2010-03-12
  • i just said this earlier before i got my mail from GodWhisper and it matches! http://bit.ly/b2ZWsy.. 2010-03-12
  • i don't like it when you start a business and all you think about is how to earn fast 2010-03-12
  • i am not inspired. i feel like there are monkeys at my back 2010-03-12