Commit Graph

9 Commits

Author SHA1 Message Date
Erik Amaru Ortiz
a7f7109468 SOLR IMPLEMENTATION FOR v4.0 UPDATES (First Part) 2013-06-05 12:28:48 -04:00
Victor Saisa Lopez
23a7051496 BUG 0000 "Added changes to solr" SOLVED
- Added changes to solr, according to:
    https://github.com/colosa/processmaker/pull/1045/files
- Solved problem with:
    php -f reindex_solr.php
* Available from version ProcessMaker-2.0.46
2013-01-25 17:13:52 -04:00
Fernando Ontiveros
d73f690e1d CODE STYLE class.searchIndex.php 2012-10-09 13:21:57 -04:00
Herbert Saal Gutierrez
b40a4d593e BUG-9482 Solr reindex error
Add catch exceptions to continue the index beside errors.
The found errors are logged.
Correct bug in unassigned users and groups.
Add functionality to reindex script:
- Add skip functionality to skip records to index
- Add definition of trunk size used to send docs to index server
- Add optimization utility to optimize index
2012-08-03 18:54:16 -04:00
Herbert Saal Gutierrez
0a95770cf1 BUG 9180 Replace json_decode function by G::json_decode
Replace json_decode function by G::json_decode to support PHP
versions without json support configured.
2012-05-31 11:34:52 -04:00
Herbert Saal Gutierrez
01d65b3ff1 BUG 9180 Correct coding convention
Correct coding convention and replace json_encode to G::json_encode and
json_decode to G::json_decode
2012-05-30 17:47:28 -04:00
Herbert Saal Gutierrez
5cf35c71d9 BUG 9180 Correct Solr update and counters implementation
The following changes were made:
- fix update Solr index process
- implement casesenuLoader using Solr server to display counters
- fix cron missing reference to system class
- add function and classes documentation
2012-05-29 17:07:53 -04:00
Herbert Saal Gutierrez
920d4908bf BUG 0000 Support for php 5.2 in Solr implementation
Add support for php 5.2 in Solr implementation:
- Exception function has two parameters
- use of function call_user_func
2012-05-16 15:45:32 -04:00
Erik Amaru Ortiz
1a8545df8a BUG 0000 herbert> SOLR implementation in PMOS2
Solr support in PMOS2 includes:
Functionality:
- Implementation of Home views (Inbox, Draft, Participated, Unassigned). The views return fast results.
- Include read, unread, all,  and process filter in inbox View.
- Include process filter in draft view.
- Include started by me, completed by me, all, process, and status filter in participated view.
- Include process filter in unassigned view.
- Improved search functionality (search in user defined variables): Use the following syntax to search in process (user defined) variables. {variable_name}:{search_word} ex1:"causal:20*" where causal is the variable defined by the user.
  + Use of wildcards in search: Use * as wildcard at the begin or end of word
  + Multiple conditions in search: Separate multiple conditions by space ex2:"Materiales causal:20*" means that we are searching for the word Materiales and the causal that begin with 20.
  + Search in dates (interval ): Format=> {variable_date}:[yyyy-mm-dd TO yyyy-mm-dd]
    Local date not UTC date required
    ex: FechaRegistro:[2011-04-15 TO 2011-04-30] //registros con fecha entre el 2011-04-15 y el 2011-04-30.
  + we can use the wildcard *:
    ex: FechaRegistro:[* TO 2011-04-30] //registros con fecha menor o igual a 2011-04-30.
    FechaRegistro:[2011-04-15 TO *] //registros con fecha mayor o igual a 2011-04-15.
  + Search of exact phrases. format: {variable}:"frase a buscar"
    ex: Cliente:"Jesus Marin"

- Application update function.
	+ The function is called every time a change is detected in the application's data including the related delegations.
- Use of cache to improve performance

Not included:
- Order of task, sent by, and due date columns.

Pending:
- Advanced search view using faceted lists.
2012-05-15 10:56:48 -04:00