concept application in category hibernate

appears as: pplications, application, n application, The application, pplication
Hibernate Search in Action

This is an excerpt from Manning's book Hibernate Search in Action.

Converting the data is one part of the problem; the system also has to keep the data synchronized between the database and the index. Remember, Lucene isn’t part of the relational engine and doesn’t know when the data is updated. Thanks to its high-level knowledge, the application layer knows when data is changed. The application could be responsible for updating the index when it updates a database row, as shown in figure 1.14.

Figure 1.14. Every change made to the database by the application has to be made to the full-text index as well.

A full-text search library is an embeddable full-text engine that you can use in your application. This solution is by far the most flexible of the three when the search feature aims at being integrated into an application. Your application will call the library APIs when indexing a document or when searching a list of matching results. The query expressiveness and flexibility is the strong point of such solutions: The application developer can decide which full-text feature will be exposed and which data specifically will be searchable (and potentially manipulate this data before indexing) and is free to decide how a user will express his query (which user interface, which natural language, and so on). Flexibility when indexing is also quite strong since the application developer decides when and what to index and has control over the structure. The application is at the center of the full-text experience, as figure 1.11 shows.