[GeoNetwork-devel] [GeoNetwork opensource Developer website] #79: CSW / BooleanQuery$TooManyClauses

#79: CSW / BooleanQuery$TooManyClauses
----------------------------+-----------------------------------------------
Reporter: Fxp | Owner: geonetwork-devel@lists.sourceforge.net
     Type: defect | Status: new
Priority: minor | Milestone:
Component: Catalog server | Version:
Keywords: CSW |
----------------------------+-----------------------------------------------
CatalogSearcher and LuceneSearcher should provide the same results:
BooleanQuery.setMaxClauseCount(16384);

CSW search return exception:
"org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is
set to 1024"

See discussion:
http://www.nabble.com/CSW-BooleanQuery%24TooManyClauses-td20186713.html

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/79&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#79: CSW / BooleanQuery$TooManyClauses
-----------------------------+----------------------------------------------
  Reporter: Fxp | Owner: geonetwork-devel@lists.sourceforge.net
      Type: defect | Status: closed
  Priority: minor | Milestone:
Component: Catalog server | Version:
Resolution: wontfix | Keywords: CSW
-----------------------------+----------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => wontfix

Comment:

We can't provide a testing scenario to reproduce the issue with trunk now.

The problem should occur when having lot of metadata records and a bigger
index.
BooleanQuery.setMaxClauseCount "Set the maximum number of clauses
permitted per BooleanQuery. Default value is 1024."

If CSW user get this error, we should probably increase MaxClauseCount in
CatalogSearcher.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/79#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#79: CSW / BooleanQuery$TooManyClauses
-----------------------------+----------------------------------------------
  Reporter: Fxp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone:
Component: Catalog server | Version:
Resolution: wontfix | Keywords: CSW
-----------------------------+----------------------------------------------
Changes (by iburago):

  * priority: minor => major

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/79#comment:2&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.