189 | | * It consists of extending the usage of S3Filter to document search by creating new TextFilter field in the document search form as well as all other resources. |
190 | | |
191 | | * When a user upload its document, it is indexed using the Lucene deamon, which will be running at background. |
192 | | |
193 | | * As and when new document is uploaded or edited, it will be indexed, so as to search in it efficiently. Lucene provides a library which does its indexing and stuff efficiently. |
194 | | |
195 | | * When a user enters a query(For simple search, its a checkbox and normal query and for advanced search, it will be a input text field), a request will be sent to the deamon and the deamon will search through the indexed documents and give the output search results. |
196 | | |
197 | | * There is also Full-text search over different resources, which would need the resources in which the user wants to search for. |
198 | | |
199 | | * This would be accomplished by using Pylucene, which is a wrapper on Apache Lucene in Python to carry out these tasks. |