I'll try indexing and Zend Lucene Search for the first time and I'm wondering if datas from the database should be indexed or not, considering performance. If so when (in which case) ?
My first goal was to index documents (pdf) to search in.
In the communications module of the application we develop, users can search for communications by entering keywords. The app searches in the subject and content of communications stored in the database and now, with the index, it also searches in the content of the documents attached to the communications.
In that way I've to search in the database AND in the index.
So now I'm wondering if I should index the subject and content (e.g. : UnIndexed Lucene Field) of the communication ? Would it be faster ? Considering that the number of documents and communications will increase quickly, and so the index too.
Anyone has experience about that ?