Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
7403 10/16/2012 01:50 PM ben leinfelder

remove morpho.jar -- moved needed classes into shared utilities project. (currently building form utilities trunk -- be sure to 'ant fullclean' to get the latest utilities.jar built)

6774 12/13/2011 11:06 AM Jing Tao

Change the key of query result cache. The key now has the real search value.

6734 12/02/2011 05:32 PM ben leinfelder

handle queries with predicates correctly.
when docids are used in the return field look up, we need to make sure they are included in the values in the correct order for their corresponding parameter place holders (?)

6629 11/09/2011 05:45 PM ben leinfelder

more changes for http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6602 11/04/2011 12:32 PM ben leinfelder

uses prepared statement parameter binding for queries
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6035 04/11/2011 05:46 PM ben leinfelder

allow "docid override" queries to include the results of a "normal" query - if the operator is left null, it acts as the usual override, otherwise UNION and INTERSECT modes can be used to either augment or refine the results.
this is for incorporating semantic+spatial+keyword queries into one query operation/result

5760 12/27/2010 02:47 PM ben leinfelder

use detected document encoding or Metacat's default encoding (UTF-8)

5756 12/27/2010 11:20 AM ben leinfelder

use UTF-8 encoding when getting bytes from the DB and converting them into a string.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2495

5752 12/21/2010 02:26 PM ben leinfelder

use detected XML encoding when reading/writing files
use UTF-8 as default when performing queries in the DB (assume DB is using UTF-8)
remove as many PrintWriters (uses system default character encoding only) as possible and construct OutputStreamWriters where explicit encoding can be given....

5491 08/11/2010 12:26 PM berkley

re-added some code inadvertently removed

5490 08/11/2010 12:23 PM berkley

merged with version from 1.9.3 branch to fix bug with character encodings

5387 06/14/2010 04:40 PM berkley

fixed bug in metacat that allowed attribute data to be appended to element data in returnfields

5363 05/18/2010 11:43 AM berkley

implementing getObjects in CrudService.

5362 05/17/2010 04:31 PM berkley

listObjects is almost working. need to get the result set parsed when returned to CrudService.

5165 12/18/2009 01:26 PM daigle

add method name to log messages and create configured thresholds for warning messages

5090 10/16/2009 11:10 AM daigle

Move access control source to it's own directory.

5030 08/24/2009 02:34 PM daigle

Change location of PropertyService to properties directory

5025 08/14/2009 02:22 PM daigle

Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.

5015 08/04/2009 02:32 PM daigle

Create database and shared directories for database management code and shared code respectively.

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4574 11/18/2008 02:19 PM daigle

change some info and warn statements to debug

4213 08/05/2008 05:50 PM daigle

qualify xml and eml properties with an xml. prefix

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4173 07/28/2008 05:05 PM daigle

Use qualified properties

4135 07/16/2008 03:39 PM berkley

fixed bug where the searchmode param was put into the search fields

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

3780 04/02/2008 04:28 PM daigle

Changes to remove ANT tokens for the turnkey install project

3730 02/22/2008 03:16 PM Jing Tao

Remove the relation query.

3635 12/05/2007 12:40 PM ben leinfelder

changes for fix to bug #2999 (only one attribute of an element is returned in resultset doc)
-added merging for large TEXT nodes when they have been broken up.
-allow multiple attributes to be returned in the resultset doc (uses newly-available field type to determine text vs attribute node).

3392 08/31/2007 04:43 PM Jing Tao

Fixed bug that if user choose to many documents in spatial query, the result set will be 0.

3368 08/22/2007 05:20 PM Jing Tao

Add code to handle the docid list is too long to be run in extended query.

3357 08/13/2007 05:18 PM Jing Tao

Add return doctype and return field into the key of query cache.

3350 08/08/2007 03:38 PM Jing Tao

Add a try-catch to handle if a query result is too long.

3349 08/08/2007 02:35 PM Jing Tao

Removed a code to check if there is a docid in a vector since every docid should exist once.

3342 08/02/2007 04:58 PM Jing Tao

Add a cache mechanism for public user.

3340 08/01/2007 03:51 PM Jing Tao

Add a result set cache

3337 07/31/2007 04:08 PM Jing Tao

Change a method to private

3333 07/30/2007 02:17 PM Jing Tao

Remove offset in findResultDoclist

3309 07/13/2007 05:31 PM Jing Tao

Change some log.

3308 07/12/2007 04:56 PM Jing Tao

Merge the getting return fields for both elements and attributes.

3307 07/10/2007 04:44 PM Jing Tao

Get rid of back tracing part

3277 05/11/2007 12:07 PM Jing Tao

Add more statement to output performance info in a file in delimitere format

3271 05/10/2007 05:59 PM Jing Tao

Add formated output for time measurement.

3264 05/08/2007 09:31 PM Jing Tao

Change the debug level for some statement

3263 05/08/2007 06:48 PM Jing Tao

Fixed bug that search "soil" will cause an exception.

3262 05/08/2007 11:41 AM berkley

paging now works in a more normal manner. also fixed a bug where the last page would display too many results.

3258 05/08/2007 11:25 AM Jing Tao

Recovered some overwitten code.

3257 05/07/2007 03:47 PM berkley

updated the kepler skin to use paging. need to do a bit more work on this to make it behave more like other web applications

3255 05/06/2007 01:51 PM Jing Tao

Changed a wrong debug information.

3253 05/05/2007 11:07 PM Jing Tao

Fixed bug that search will get a error in adding relationship.

3252 05/04/2007 06:41 PM Jing Tao

Add time debug information for query.

3248 04/19/2007 03:45 PM Jing Tao

Remove the access query for return field since we remove the partial tree access control in eml.

3247 04/18/2007 04:03 PM berkley

removed a bunch of commented out code

3246 04/18/2007 03:55 PM berkley

got a better version of paging working. still needs to be cleaned up and debugged more.

3227 04/12/2007 10:23 AM berkley

checking in timing print statments

3221 04/03/2007 01:10 PM berkley

paging now works well. sped up the caching by using SAX instead of DOM parsing. it seems fast. need some other people to test for me though. the two params needed are 'pagesize' and 'pagestart'. I haven't updated any of the web interfaces to use this, so if you want to try it, you'll have to type in the url the old fashioned way

3220 04/02/2007 04:38 PM Jing Tao

Add a new overload method - createResultDocument and add a new check for null.

3219 04/02/2007 03:23 PM berkley

got paging working. metacat also now caches resultsets for users' sessions. the paging is a bit slow, due to some xpath statements. i need to get this optimized now.

3211 03/22/2007 09:59 AM berkley

adding changes to make paged query results possible

3104 11/29/2006 05:40 PM perry

Merged the spatial web.xml.combined into the default web.xml.tomcat5

3077 11/10/2006 10:25 AM Matt Jones

Removed the release ant token from all files in 'src'.

3055 10/04/2006 02:44 PM perry

fix to docid overrides to handle an empty result set

3047 09/18/2006 11:21 AM perry

Added docid override mechanism to DBQuery. Bypasses the queryspec.printSQL method and creates an optimized docid query in cases (like the spatial query) where you know the docids a priori

3034 08/31/2006 04:37 PM perry

initial import of changes to metacat source and config files to support spatial option

3003 06/08/2006 11:09 AM sgarg

check for nullpointerexception

2948 03/03/2006 11:47 AM sgarg

iModified code -- the booleans werent really getting tested :(

2946 03/03/2006 11:36 AM sgarg

iModified the switch to turn/off the spatial searching.:wq

2912 02/20/2006 07:41 PM harris

Integration of the metacat servlet with the spatial option -- rubberbanding is implemented too.

2787 11/30/2005 08:34 AM sgarg

Modified code to that isModerator param is passed to the xsl which will render the results.

2752 11/16/2005 05:27 PM Matt Jones

Metacat has had problems with threading issues when accessed from ecogrid. These problems may stem from the use of shared global variables within the servlet that are not protected against threading problems. We used a lot of these, which I am eliminating in this commit. Besides final variables used as constants (which are not a problem), now there are only three unprotected variables (sessionHash, logMetacat, and conn) which are harder to eliminate. I will be discussiong this with Sid tomorrow to see how to eliminate them.

2681 10/20/2005 11:34 AM sgarg

Removed code entered in previous commit as it is no longer needed

2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2658 10/06/2005 11:37 AM sgarg

if moderator is logged into metacat and no option for enable-editing is specified then enable editing by default

2641 10/04/2005 10:58 AM Jing Tao

Change the code to make sure DocumentImpl class's constructor should have rev attached.

2486 04/13/2005 11:38 AM sgarg

Fixed a bug - when returnfield_id is not found in xml_returnfield, records are not added to xml_queryresults

2474 04/07/2005 05:04 PM sgarg

1. removed the call to QuerySpecification.printAttributeSQL() from QuerySpecification.printExtendedSQL()
2. in QuerySpecification.printExtendedSQL() if ( returnFieldList.size() == 0 ) then it returns null
3. DBQuery.addReturnfield() doesnt execute the element query if printExtendedSQL returns null

2473 04/07/2005 04:08 PM Chris Jones

A minor change from containAtrributeReturnField to
containsAttributeReturnField

2462 04/06/2005 02:21 PM sgarg

Replaced 1.4.0 with release

2446 04/04/2005 04:15 PM sgarg

Removed occurence of enum which is a keyword in Java 1.5

Changed the queries so that PreparedStatement.setString() and .setInt() are used instead of write the string directly into the sql statements

2430 03/29/2005 08:06 AM sgarg

Added new database upgrade script for postgres.
Modified the database upgrade script for oracle
Added comment to DBquery.java
Fixed a bug in xmltables.sql

2428 03/23/2005 01:30 PM Chris Jones

Added the trailing '/' that was ommitted when XPATH queries included attributes.
This is a partial bug fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2052

2425 03/18/2005 11:19 AM sgarg

Added code to check if the document is indexed yet! So entry into xml_queryresult is only made if the doc is in xml_index.

2424 03/18/2005 08:51 AM sgarg

Added code such that an offset can be specified in metacat.properties for entering records into xml_queryresult table. The value of xml_returnfield.usage_count should be more than the value specified in metacat.properties for records to be entered into xml_queryresult. so if you want results for any combination of returnfields should be stored in xml_queryresult only after that combination has been requested 50 times, set this value to 50

2421 03/17/2005 05:26 PM sgarg

Changes for entering new records into xml_queryresult:

1. Added a function which checks if there is a record exsists in xml_returnfield table for a given combination of return fields. If a record is found, the id for the record is returned. otherwise a new record is created in the xml_returnfield table and the id of the new record is returned....

2406 03/10/2005 11:47 AM sgarg

Modified the offset which is used for creating the resultset. This helps in fixing the 'more than 1000 enteries in IN query' bug on Oracle.

2376 01/18/2005 12:11 PM sgarg

Modifying code so that nodedata is stored in xml_index table next to the paths.
This helps in making the search faster.

2366 01/13/2005 04:39 PM sgarg

Modified code so that when a % search is done, a xml_nodes search is not done. This search is not required and hence saves time in doing a % search

2360 01/06/2005 12:47 PM sgarg

Fixed a bug in containsKey() function.

2168 05/14/2004 10:53 AM Jing Tao

Revised the api and ecogrid can use it easily.

2106 04/05/2004 04:25 PM Matt Jones

Fixed the returndoctype bug in DBQuery as described in bug 1451. Now,
results are returned even if returndoctype is null, which is the
appropriate behavior.

2091 04/01/2004 03:38 PM Jing Tao

Clean up some code.

2087 03/31/2004 05:47 PM Jing Tao

Add a new transferm method for string reader.

2075 03/30/2004 10:09 AM Matt Jones

Reformatted DBQuery.java for readability and consistency.

2074 03/30/2004 10:02 AM Matt Jones

Changed printAttributeQuery() to no longer depend on the xml_index table. Now, if useXMLIndex is false, the method will use a recursive query on xml_nodes to match paths instead of using xml_index.

2072 03/29/2004 01:59 PM Matt Jones

Moved decision about whether to use xml_index for
query to the metacat.properties as "usexmlindex". Default
is now false. Still have some refactoring to do to remove a
few more uses of the xml_index table.

2069 03/29/2004 11:24 AM Matt Jones

Created new printExtendedSQL function that can get the extended
return fields using only xml_nodes and not xml_index. One
step closer to eliminating the dependence ofn xml_index.

2045 03/15/2004 02:08 PM Jing Tao

Fixed the bug for sessionid storing, revision couldn't be zero and Ldap DN is case sensitive.

2043 03/09/2004 06:18 PM sgarg

Replaced Hash table with Vector of Vector datastructure in getting <param> from Query. This was done so that the results are represented in same order as they appeared in the document.

1956 12/10/2003 01:15 AM Matt Jones

Enabled stylesheet parameters to be passed through metacat even when the
'query' function is called. Previously, query would interpret all
parameters except a few hardcoded ones to be pathexpressions that should be
built into a squery. Now, metacat.properties contains a new configuration...