In search space, pagination always has to happen. Solr has the feature of basic paging. In basic paging, you simply specify start and rows parameters. start indicates where the returned results should start and rows specifies how many documents are returned. With basic paging, partial index exporting and migration is a problem. Since basic paging needs to sort all the results first before returning the desired subset, it needs large amount of memory if start is of high order. For instance, start=1000000 and rows=10 causes an inefficient memory allocation to happen due to the sorting of 1000010 documents. In a distributed environment, the case is worse because the engine has to fetch 1 million documents from each shard, sort them then return the result set.

Sencha Touch vs PhoneGap

July 16th 2013, 5:49 pmCategory: Mobile 3 comments

In a previous post, I explained the differences between PhoneGap and Titanium. In this post, I’ll continue the series with PhoneGap vs Sencha Touch.

What is Sencha?

First off, Sencha Company has been formed in April 2011 as a merge result of Ext JS, jqTouch and Raphaël. Now, it has an array of products to design, develop, and deploy cross-platform desktop and mobile applications. All Sencha products are paid and proprietary, except Ext JS and Sencha Touch that have free licenses. These products are:

Recently, I have been working on a project that materializes the Digital Signage concept. In fact, it was built from scratch based on the customer request. Later on, I have done a quick research to see if there are open-source or free solutions available in the market.