Opened 16 years ago

Closed 15 years ago

Last modified 14 years ago

#79 closed defect (wontfix)

CSW / BooleanQuery$TooManyClauses

Reported by: Fxp Owned by: geonetwork-devel@…
Priority: major Milestone:
Component: Catalog server Version:
Keywords: CSW Cc:

Description

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

Change History (2)

comment:1 by fxp, 15 years ago

Resolution: wontfix
Status: newclosed

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.

comment:2 by iburago, 14 years ago

Priority: minormajor
Note: See TracTickets for help on using tickets.