Commit Graph

44 Commits

Author SHA1 Message Date
Roly Rudy Gutierrez Pinto
4f6483a542 HOR-3379 improvement in class.AppSolr.php 2017-06-20 11:53:18 -04:00
Roly Rudy Gutierrez Pinto
b141ccbad7 HOR-3379 improvement in class.AppSolr.php 2017-06-20 11:51:35 -04:00
Victor Saisa Lopez
6d9858d6d0 HOR-1738 "Change folder permissions in ProcessMaker" SOLVED
Issue:
    Change folder permissions in ProcessMaker
Cause:
    Nuevo requerimiento
Solution:
    Se cambio los permisos de los files and directories
2016-08-30 13:03:35 -04:00
Roly Rudy Gutierrez Pinto
0d92b6cf07 HOR-1305 2016-08-13 10:36:14 -04:00
qronald
8f7501e2ce HOR-1344 Optimization: Lists tables 2016-07-18 14:13:01 -04:00
Ronald Q
41b01296e0 HOR-1387 Agregar los campos que se guardan en CONTENT que están relacionados a APPLICATION 2016-06-30 14:23:53 -04:00
Ronald Q
c6e803c6f0 HOR-1329 Agregar los campos PRO_TITLE y PRO_DESCRIPTION en la tabla PROCESS 2016-06-20 16:50:57 -04:00
Marco Antonio Nina
365e4ab10a BUG-13543: Some cases are showing triplicated in inbox using SOLR SOLVED
- Al utilizar solr y ver los listados de casos se podian observar casos repetidos.
- Se produjo un error al momento de actualizar un registro en solr ya que los datos que se tenian habian caracteres extraños los cuales rompian el xml.
- Se valido la formacion del XML añadiendo las etiquetas CDATA y eliminando caracteres extraños, en la class.AppSolr en la funcion buildSearchIndexDocumentPMOS2.
- en el caso especifico de la bbdd se descubrio que en los casos que se reproducia el problema la tareas con las que se ponian no existian debido a que era un proceso antiguo. se recomienda cambiar los uid hacia el nuevo uid de la tarea actual.
2013-11-20 11:45:58 -04:00
Marco Antonio Nina
c54d472f18 BUG-13543: Some cases are showing triplicated in inbox using SOLR SOLVED
- Al utilizar solr y ver los listados de casos se podian observar casos repetidos.
- Se produjo un error al momento de actualizar un registro en solr ya que los datos que se tenian habian caracteres extraños los cuales rompian el xml.
- Se valido la formacion del XML añadiendo las etiquetas CDATA y eliminando caracteres extraños, en la class.AppSolr en la funcion buildSearchIndexDocumentPMOS2.
- en el caso especifico de la bbdd se descubrio que en los casos que se reproducia el problema la tareas con las que se ponian no existian debido a que era un proceso antiguo. se recomienda cambiar los uid hacia el nuevo uid de la tarea actual.
2013-11-19 11:06:13 -04:00
Marco Antonio Nina
0db2555968 BUG-13402 SOLR esta tratando de mostar la lista de casos para la carpeta SOLVED
- No se encontraba implementado.

- Se añadio funcionalidad para los casos pausados agregado el parametro $pausedtUser en las funciones buildSearchIndexDocumentPMOS2 para poder crear el xml y poder ir indexando todos los datos al servidor de solr.
- al sincronizar los datos se crea el campo "APP_PAUSED_USER_DEL_INDEX_" con el cual se podran realizar las busquedas.
- Cuando se recuperan los datos se actualizan los contadores de Paused tambien desde solr.
2013-11-07 16:40:41 -04:00
Freddy Daniel Rojas Valda
b5263f3dbb Se quita el commitWithin='5000', para la actualizacion de los contadores 2013-10-25 17:00:32 -04:00
Freddy Daniel Rojas Valda
da0b2a2bd9 Merge branch 'master' of git://github.com/colosa/processmaker 2013-10-09 12:27:07 -04:00
Freddy Daniel Rojas Valda
9a2de6acd1 Se adiciona validacion para campos currency 2013-10-09 12:25:11 -04:00
Brayan Osmar Pereyra Suxo
ac70af458f Adicion para ordenamiento de la columna APP_STATUS en solr 2013-10-07 10:26:21 -04:00
Freddy Daniel Rojas Valda
f6df3d1ced BUG 0000 'Fix the dynaforms path and date search' SOLVED 2013-08-14 14:53:17 -04:00
Freddy Daniel Rojas Valda
8df85522b0 BUG 0000 "Change on class.AppSolr search criteria" CHANGE 2013-07-03 15:05:14 -04:00
Freddy Daniel Rojas Valda
6924836281 BUG 0000 "Change on class.AppSolr search criteria" CHANGE 2013-07-02 17:44:40 -04:00
Freddy Daniel Rojas Valda
22230faad5 Changes onSolr class, converting some words from uppercase to lowercase 2013-07-02 16:21:10 -04:00
Freddy Daniel Rojas Valda
2a5a63cd52 BUG 0000 "Change on AppSolr class" COMPLETED
- Add search criteria to < > <= >=
2013-07-02 15:33:54 -04:00
Erik Amaru Ortiz
a7f7109468 SOLR IMPLEMENTATION FOR v4.0 UPDATES (First Part) 2013-06-05 12:28:48 -04:00
Victor Saisa Lopez
cafb088214 BUG 0000 "Improvement in the cases list" SOLVED
- Problem with tasks in parallel in inbox
- Solved problem with tasks in parallel
- Validation was added in solr for cases that are in inbox, but does not make an accurate count of cases, when tasks are parallel
* Available from version ProcessMaker-2.0.46
2013-02-15 16:26:51 -04:00
Victor Saisa Lopez
670a713e92 BUG 0000 "Improvement in the cases list" SOLVED
- Problem in the ordering of the column in cases list
- Validation for the ordering of the column
- Improvement in the cases list using the field DEL_LAST_INDEX
- Improvement in the cases list columns current user and current task
- Improvement in the cases list when solr is enabled and disabled
- Added column currrent user in participated
* Available from version ProcessMaker-2.0.46
2013-02-13 14:10:20 -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
user
f38c4d368c Removing requiere_once call to gain loading time. 2012-11-20 16:45:09 -04:00
Herbert Saal Gutierrez
6e3e6c7318 OptimizeSolrMemory Improve Solr performance
Add commitwithnin option to reduce the number of commits
2012-11-06 09:46:26 -04:00
Victor Saisa Lopez
977969985e BUG 9830 "En Advanced Search no funciona la busqueda por..." SOLVED
- In AdvancedSearch no performs searches for user and category
- Problem solved, have been added to SOLR missing criteria for the search
- Note. - To register/upgrade the new criteria in the SOLR server, run the
  following script:
      $ php reindex_solr.php workspace_name reindexall
* Available from version 2.0.45
2012-11-05 15:14:51 -04:00
Fernando Ontiveros
0d0fd1c50c CODE STYLE class.AppSolr.php and fix a previous merge issue with class processMap 2012-10-09 11:24:11 -04:00
Herbert Saal Gutierrez
da4ac6dda2 BUG-9689 Improve Solr performance
Improve Solr Performance

Fix:
- Avoid the database consult of all indexes for application in the case of the search view.
- If there are no indexes found for an application, then an error is reported and the
 construct of records continue.
2012-09-18 15:04:14 -04:00
Herbert Saal Gutierrez
dce762b112 BUG-9689 Improve Solr performance
Improve Solr performance, reducing SQL queries getting delegation data.
now only one request to the database is required to get all the reindex
information.

Add support of search using date fields in advanced search.
the field:DEL_LAST_UPDATE_DATE is used for this purpose.

Add debug information that must be enabled in the APPSolr class.
2012-09-12 09:32:53 -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
629ea73a15 BUG-9482 Solr reindex error solved
Error
-----
running reindex script to reindex Solr don't finish

php reindex_solr.php workflow reindexall

Solution
--------
Add validation of empty dynaform XML files.
Add validation of big integer values.
Add validation of currency values.
Add Solr response information to exceptions in Solr.
write log of not indexed files.
2012-07-19 19:59:26 -04:00
Herbert Saal Gutierrez
38930f207f BUG-9449 Error in reassign and review of supervisor
Error
-----
Error in reassign and review of supervisor. This is caused because Solr
don't support those views.

Solution
---------
The filter to use Solr or  DB was corrected to use DB in the case of Supervisor views.

Also a new exception was created to inform that APP_DATA could not be unserialized,
and the logic is not going to stop when an error of unserialization is run in the reindex process.
2012-07-13 11:56:46 -04:00
Herbert Saal Gutierrez
587f732b62 BUG 9180 can't search string without fieldname
Error
-----
can't search string without fieldname only fields are searched

Solution
--------
correct identification of field name to allow the search using plain string
in processname, status fields.
2012-06-28 12:38:41 -04:00
Herbert Saal Gutierrez
c53e164534 BUG 9180 Error in date interval search
Error
-----
Error in date interval search, the second date in the interval was not used.

Solution
--------
The second date was changed to the correct variable to use it in the interval.
2012-06-26 12:03:28 -04:00
Herbert Saal Gutierrez
dac87f1d8c BUG 9180 Error unserializing APP_DATA with null value
Error
-----
Error unserializing APP_DATA with null value

Solution
--------
Verify if the APP_DATA contains serialized NULL before trying to unserialize
The APP_DATA with NULL serialized = "N;" is generated with the function PMFNewCaseImpersonate
2012-06-26 10:49:07 -04:00
Herbert Saal Gutierrez
273dff4745 BUG 9180 Correct display priority in cases lists
Code Issue
----------
A number is display in the Priority column in the cases lists instead of the
priority in text.

Solution
--------
Correct display of priority column in cases lists.
The text that describes the priority is display instead of the priority number.
The number is converted to the corresponding text with the help of the function
G::LoadTranslation("ID_PRIORITY_N");
2012-06-18 17:58:14 -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
2070917313 BUG 0000 Correct format date without hour for php 5.2 support
Correct format date without hour for php 5.2 support
2012-05-16 15:45:32 -04:00
Herbert Saal Gutierrez
fc2f25d2ba BUG 0000 Replace date_create_from_format function for Php 5.2 support
Replace date_create_from_format function with temporal solution for
Php 5.2 support
2012-05-16 15:45:32 -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
Herbert Saal Gutierrez
7e07db9348 BUG 0000 Change Solr configuration environment variables
Now the Solr configuration variables are read from the env.ini file that
is stored in the shared//sites/SYS_SYS/ folder.

The system class is used to get the environment variables using the
solrenv function.
2012-05-15 17:41:12 -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