Hi Serge! Thank you for Your help, it is always in time. I need the answers to some questions, and therefore have investigated the code, please chek this and correct me if I am wrong:
1. Each time Jahia Field object is saved, the indexField() method is called on JahiaBaseSearchService. This is done in order to update the Lucene search index when the field is changed. 2. Inside this method, Enumeration enum = jahiaContentFieldFacade.getFields() is called and the fields are added to the indexOrders List by the call to addFieldToSearchEngine(). 3. The JahiaBaseSearchService.run() processes this list and adds the document to the Lucenes IndexWriter. Question 1: In the 2nd iteration when JahiaContentFieldFacade is initiated, the additional to the "saving" fields are loaded from the DB with JahiaField field = ServicesRegistry.getInstance().getJahiaFieldService() .loadField(fieldID, loadFlag, jParams, elr); and then added to the list of fields to be indexed. What are these fields which also need to be indexed? Question 2: When the search results are displayed to the user, how the links to the search results are generated? where these links are stored or composed? Sorry for inconvenience, With kind regards Alex __________ www.newmail.ru -- бесплатная почта, бесплатный хостинг.
