Setting up an example Solr instance is not a hard task, at least when setting up the simplest configuration. The simplest way is to run the example provided with the Solr distribution, that shows how to use the embedded Jetty servlet container.
In this article by Rafal Kuc, author of Apache Solr 4 Cookbook , we will cover the following topics:
Running Solr on Jetty
Running Solr on Apache Tomcat
Installing a standalone ZooKeeper
Clustering your data
Choosing the right directory implementation
Configuring spellchecker to not use its own index
Solr cache configuration
How to fetch and index web pages
We have a simple configuration, simple index structure described by the schema.xml file, and we can run indexing.
In this article you'll see how to configure and use the more advanced Solr modules; you'll see how to run Solr in different containers and how to prepare your configuration to different requirements. You will also learn how to set up a new SolrCloud cluster and migrate your current configuration to the one supporting all the features of SolrCloud. Finally, you will learn how to configure Solr cache to meet your needs and how to pre-sort your Solr indexes to be able to use early query termination techniques efficiently.Read Apache Solr Configuration in full
Search is an integral part of any web application that is built today. Whether it is a content site, a job site, an ecommerce site or any other website, search plays a very important role in helping the user locate the information that he is looking for. As a developer it is imperative to provide the user of the website all the possible tools for searching and narrowing down to the required information. Apache Solr is a full text search engine which provides a large list of features for search. PHP is the preferred programming language for building websites.
This article written by Jayant Kumar, author of the book Apache Solr PHP Integration, will make the integration between Apache Solr and PHP easy for you. We will start with Solr installation. Look at how Solr can be integrated with PHP. And then explore the features provided by Solr through PHP code. After going through the book, you should be able to integrate almost all features provided by Solr into your PHP applications.Read Apache Solr PHP Integration in full
The process of data indexing can be divided into different parts. One of the parts, actually one of the last parts, of this process is data analysis . It's one of the crucial parts of data preparation. It defines how your data will be written into index, its structure, and so on. In Solr, data behavior is defined by types.
In this article by Rafał Kuć, author of Apache Solr 3.1 Cookbook, we will cover:
- Storing additional information using payloads
- Eliminating XML and HTML tags from the text
- Copying the contents of one field to another
- Changing words to other words
- Splitting text by camel case
- Splitting text by whitespace only
- Making plural words singular, but with out stemming
- Lowercasing the whole string
- Storing geographical points in the index
- Stemming your data
- Preparing text to do efficient trailing wildcard search
- Splitting text by numbers and non-white space characters
There are many features of Solr that we don't use every day. In the previous article by Rafal Kuc, author of Apache Solr 3.1 Cookbook, we took a look at some Solr functionalities such as highlighting, sorting results, ignoring words, and so on. In this article, we will take a look at the spellchecker, statistics, or grouping mechanism which may not be in everyday use, but they can come in handy in many situations. The author will try to show you how to overcome some typical problems that can be fixed by using these Solr functionalities.
Specifically, we will cover:
- Computing statistics for the search results
- Checking user's spelling mistakes
- Using "group by" like functionalities in Solr
No web application is complete without a page that has a table of data. In this article by Igor Vaynberg, author of Apache Wicket Cookbook, we will learn how to make great use of Wicket's DataTable components to make displaying awesome tables a snap.
In this article we will cover:
- Making cells clickable
- Making rows selectable with checkboxes
- Exporting data to CSV
In this article, by Thomas Fitzgerald author of the book Mastering Apple Aperture, we will put that theory into practice, and take a look at several real world examples of how you can use Aperture, both creatively and to solve problems. The goal is to help you think outside the box and you may actually be surprised at just how much you can achieve within the software without having to jump over to another application, such as Photoshop.
In this article, we will look at the following examples of using Aperture:
Recovering and controlling clipped highlights
Fixing blown out skies
Removing objects from a scene
Fixing dust spots on multiple images
Fixing chromatic aberration
Fixing purple highlight fringes
Creating fake duotones
Fix a scanned negatives
In this article created by Marcel van der Plas and Michel van Zoestauthor of Oracle APEX Cookbook, we will cover the following topics:
- Creating an item type plug-in
- Creating a region type plug-in
- Creating a dynamic action plug-in
- Creating a process type plug-in
- Creating an authorization plug-in
Almost any control or element in Titanium can have an animation or transform applied to it. This allows you to enhance your applications by adding a level of interactivity and "bling" that your apps would otherwise perhaps not have.
In this article by Boydlee Pollentine, author of of Appcelerator Titanium Smartphone App Development Cookbook, we will cover:
- Animating a View using the "animate" method
- Animating a View using 2D matrix and 3D matrix transforms
- Dragging an ImageView using touch events
- Scaling an ImageView using a Slider control
- Saving our "Funny Face" image using the toImage() method
This article created by Pau Kiat Wee, the author of Instant AppFog, we will discuss the top features of AppFog you need to know about. After you read this article, you will know how to use AppFog features for your application, including SSL, adding third-party add-ons, export services, and much more.Read AppFog Top Features You Need to Know in full
Tetris is a classic game. In this article by Stefan Björnander, we will develop a version very similar to the original version. Seven figures of different shapes and colors fall down and the player's job is to move and rotate them into positions so that as many rows as possible are completely filled. When a row is filled, it disappears. Every removed row gives one point.Read Application Development in Visual C++ - The Tetris Application in full
In this article by Peter Björk, authors of VMware ThinApp 4.7 Essentials, we will cover the packaging process. We'll discuss packaging's best practices the, packaging environment, entry points, the data container, and Package.ini.Read Application Packaging in VMware ThinApp 4.7 Essentials in full
This article by Shantanu Kumar the author of Clojure High Performance Programming, discusses about high level concerns. As opposed to performance analysis and optimization at a smaller component level, it takes a holistic approach for the same at the application level. Higher level concerns, such as serving a certain threshold of users in a day or handling an identified quantum of load through a multilayered system, require us to think about how the components fit together and how the load is designed to flow through the applicationRead Application Performance in full
In the previous article we had an introduction to the Application.cfc object and application variables. Next, we are going to discover the differences between application, session, and request scopes. We will learn how to share some information and how to protect the rest of the information in a controlled manner. In this article by John Farrar, author of ColdFusion 9 Developer Tutorial, we will have a look at the following topics:
- The special standard method events, which ColdFusion calls in the Application.cfc object.
- Custom tag paths and mapping settings inside the object—the two special functions of the Application.cfc object.
In this article by Jayme Schroeder and Brian Broyles the authors of AndEngine for Android Game Development Cookbook, we are going to see Physics-based games provide players with a unique type of experience not encountered in many other genres. This article covers the use of AndEngine's Box2D physics extension. Our recipes include:
Introduction to the Box2D physics extension
Understanding different body types
Creating category-filtered bodies
Creating multiple-fixture bodies
Creating unique bodies by specifying vertices
Using forces, velocities, and torque
This article written by Paul te Braak, the author of the book Microsoft Tabular Modeling Cookbook, focuses on the complex modeling concepts such as:
- Grouping by binning and sorting with ranks
- Defining many-to-many relationships
- Using the last non-empty function for stock data
In this article by Mike Liu, the author of WCF 4.5 Multi-Layer Services Development with Entity Framework, we will learn how to update a product with LINQ to Entities in the data access layer. We will see how to apply changes of a client object to LINQ to Entities and leave all of the update work to LINQ to Entities, and will also see how to control the concurrency of updates with LINQ to Entities.Read Applying LINQ to Entities to a WCF Service in full
In this two part article series by Gastón C. Hillar, we will use advanced physics and add special effects to the scenes. We will learn to generate gravity effects, add fluids with movements, and use transitions to determine different states in a game.
By reading this article and following the exercises we will learn to:
- Add many background models, adding life to the game
- Control many independent backgrounds
- Simulate fluids with movement
- Work with multiple concurrent physics simulators
- Use advanced physics simulation to create waves