From: heikki <tro...@gm...> - 2009-08-25 12:32:42
|
hi Francois, how about we make sure that a search for "*" internally gets handled identically to a search for "" ? As the result should be the same anyway. Kind regards Heikki Doeleman 2009/8/25 Francois Prunayre <fx....@gm...> > Hello Jürgen, > > 2009/8/24 Jürgen Weichand <jue...@bv...>: > > I've imported 10.000 Metadata-Files (ISO) to GeoNetwork using the > > Batch-Import-Function. In version > > 2.4.1 it works very well to import more than 5000 Metadatasets. > > > > Every Metadata has the same prefix like "Testdata" (Title). > > > > Now, the following problem occurs: > > Searching for "" --> Every 10.000 Dataset --> OK! > > Searching for "Testdata" --> Every 10.000 Datasets --> OK! > > Searching for "*" --> maxClauseCount is set to 16384 --> ?? > This exception is related to the use of "*" in Lucene query and your > index content for the queried field more than the number of records. > > If you want to search for all, use "" instead of "*" which will be > much faster ! or even don't set this criteria. > > An option could be to change the > BooleanQuery.setMaxClauseCount(16384); > in LuceneSearcher.java and CatalogSearcher.java. One suggested change > could be BooleanQuery.setMaxClauseCount(Integer.MAX_VALUE) but this > could then trigger out of memory exception and slow search according > to the search you are making. > > Maybe we should at least create a configuration option for this parameter. > > HTH. > > Francois > > > The "*"-char is important for CSW-Requests for example. > > > > I want to run GeoNetwork with 100.000 to 200.000 Datasets. > > > > > > Thanks in advance, > > > > Juergen > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > GeoNetwork-users mailing list > > Geo...@li... > > https://lists.sourceforge.net/lists/listinfo/geonetwork-users > > GeoNetwork OpenSource is maintained at > http://sourceforge.net/projects/geonetwork > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > GeoNetwork-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geonetwork-users > GeoNetwork OpenSource is maintained at > http://sourceforge.net/projects/geonetwork > |