Hi all, adding new parameters to Lucene, we always have to set them in
MainUtil ... which is also quite hard to read :)
I would like to propose to make it easier :
1. set global default params (eg. sort options)
2. If request is sent, just add request info (ie. new search)
3. If no request, use session info (ie. main.present services)
4. If no request and no session, just set default params
5. set session for future use.
Then adding a new search parameter could be done in index-fields and
lucene.xsl and default value for these parameters could also be set in
I've been using this MainUtil configuration for a while and didn't see
any side effects but comments are welcomed (see patch attached).
Get latest updates about Open Source Projects, Conferences and News.