summaryrefslogtreecommitdiff
path: root/defaults/solr
AgeCommit message (Collapse)Author
2024-06-21disables autowarm of filtercache, corrects luceneMatchVersionsgaebel
2024-05-19migrated solr to 9.0Michael Peter Christen
This is a major step because solr removed support for embedded solr instances in 9.0 and we want to keep it because we want to ship YaCy with an embedded solr. It was necessary to add parts of solr code into YaCy to make this migration possible. Further on with Solr 9.1 they removed even more parts which are required for embedded operation, therefore we cannot migrate yet further without big changes. If you are running a YaCy instance with Solr 8.x, the migration should be done automatically. If not you require to first migrate to a YaCy version 1.93 with Solr 8.x to migrate to Solr 8 data.
2023-09-01migrated solr from 8.9.0 to 8.11.2; activated also migration script. A YaCy ↵Michael Peter Christen
index with solr 8.9.0 will automatically be migrated to 8.11.2. This is a preparation step to migrate to 9.0.0 soon.
2023-04-04fixed documentation and some details of handling of keywordsMichael Peter Christen
2021-10-31lets SOLR merge bigger segments (up to 50GB)sgaebel
+ some setting to reduce caches
2021-03-08fixes for solr 8.8.1 migrationMichael Peter Christen
- replace new guava 30 with older 25 because that is the correct dependency for solr 8.8.1. The newer one did actually not work! - index will be crated in a DATA/INDEX/freeworld/SEGMENTS/solr_8_8_1 subfolder. The older solr_6_6 index is not touched but also not migrated. The index starts with fresh (empty) content. - Older indexes must be migrated by hand (export/import) so far until a better solution is found. - Large schema adoptions for lucene 8.8.1
2019-04-16Upgraded Solr config files with the ones provided by Solr releaseluccioman
Fixes #292
2018-11-19Enable soft autocommit in default Solr configluccioman
Since upgrade from Solr 5.5 to Solr 6.6 (commit 6fe7359), hard autocommits were still enabled to regularly persist the Solr index to the file system, but new index entries were no more automatically made available for use by the application (soft autocommit). Therefore, YaCy features such as index statistics, that do not perform an explicit commit (as recommended by Solr documentation) were no more accurate. Soft autocommit is now restored as a default, with a time period expected to be sufficient for accuracy while adding only a reasonable system load overhead. Fixes issue #251
2017-07-23Add SolrConfig ClassicIndexSchemaFactory to prevent Solr startup warning.reger
This overrides Solr default to use managed schema. As we don't use programatic schema changes this directs Solr to use schema.xml, eliminating the warning.
2017-06-16remove reference to velocityresponsewriter in solrconfig.xml reger
it is not longer part of solr-core api http://lucene.apache.org/solr/6_6_0/index.html
2017-06-15remove sample path setting in solrconfig.xml not valid in Yacyreger
resulting in startup stop exception after fresh swithch to 1.921
2017-06-15Prevent high CPU load at startup, caused by the Solr suggester build.luccioman
Reported by Collision on mantis 758 ( http://mantis.tokeek.de/view.php?id=758 ). Introduced by the new YaCy Solr configuration for Solr 6.6.0 (see commit 6fe735945da97abcbb91ac545fb11cff9d48effc), including now Suggester configuration.
2017-06-09migrated Solr 5.5 -> Solr 6.6 and from Java 1.7 -> 1.8Michael Peter Christen
Also: now Version 1.921
2016-07-23update lucenematchversion to current (5.2.0 -> 5.5.0)reger
there should be no need for reindex by the update
2015-12-14Added a note on deprecated default search field and operator.luc
2015-11-10do not store subfield *_coordinatesixcooler
2015-11-10set startuptype of most solr handlers to lazysixcooler
2015-10-24remove override of dynamicField coordinate_p in solr schemareger
(coordinate_p is not a mandatory field as such doesn't need to be declared as schema.field)
2015-09-01enable Solr schema dynamicField _p (type=location) for YaCy coordinate_p fieldreger
2015-08-31fight the fieldcache by usind DocValues: in Solr-5.x the fieldcache hassixcooler
moved and was not cleared anymore. This results in an huge fieldcache. (http://lucene.apache.org/#highlights-of-the-lucene-release-include https://issues.apache.org/jira/browse/LUCENE-5666) Here I try to use DovValues where it is possible. For this I used the Api-Scheme as new basis für the Solr-Schema. This needs at least a complete optimization of the Solr-Index to get a smaller FieldCache. Everything that is indexed with these setting will not use the Fieldcache at all.
2015-07-01Rem depreciated AdminHandlers in solrconfig.xmlreger
avoid warning log W org.apache.solr.handler.admin.AdminHandlers <requestHandler name="/admin/" class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
2015-06-24migration to Solr 5.2: huge benefits - this is a lot faster!Michael Peter Christen
This is a very complex migration: many classes had been renamed or removed, dependencies changed and the solr index type is now aligned to be a solr cloud repository. Together with the Solr 5.2 library update, one other dependent library had been updated as well: httpclient 4.4->4.4.1 Older indexes are migrated from 4_10 to 5_2. However, the new index structure is more efficient and we recommend to re-index everything. Please use the index export before you do the update to a large surrogate xml file. After the update, start with an empty index and then initialize this with your dump.
2015-04-07testing switching off cold searchers; maybe this brings performanceMichael Peter Christen
enhancements when using large facets
2015-01-04bump to Solr-/Lucene-4.10.3sixcooler
2014-11-07update to solr-/lucene-4.10.2sixcooler
2014-07-01update to solr 4.9.0Michael Peter Christen
2014-05-21migration to Solr 4.8.1Michael Peter Christen
This includes also an update to zookeeper 3.4.6 and a new library that Solr initializes by default: org.restlet from http://restlet.com/download/current#release=stable&edition=jse&distribution=zip which is included in version 2.2.1 from may 6th 2014
2014-04-06replaced solr 4.6.1 with solr 4.7.1 and added index migration toMichael Peter Christen
lucene_47
2014-04-06test using compound file format, see UseCompoundFile inMichael Peter Christen
https://cwiki.apache.org/confluence/display/solr/IndexConfig+in+SolrConfig This appears to be necessary as many times a java.io.FileNotFoundException: (Too many open files) appears. See also: https://issues.apache.org/jira/browse/SOLR-4 and desperate users at http://stackoverflow.com/questions/3828343/too-many-open-file-exception-while-indexin-using-solr We cannot force users to do a "ulimit -n 1000000", so this action seems to be required.
2014-03-04add index on _val fields, this affects especially title lengthorbiter
an index on fields make search facets on that field possible
2013-12-19migrated to solr 4.6.0Michael Peter Christen
2013-11-09reverted autowarming setting in solrconfigMichael Peter Christen
2013-11-07found and fixed a huge memory leak in solr caching (inside Solr). TheMichael Peter Christen
not-flushed Solr cache is now handled in this way: - it is smaller by default - an Solr-internal process is started to flush the cache periodically (this does NOT clean the cache, just removes old objects) - a Solr-external process (the standard YaCy cleanup-process) now has direct access to the solr internal cache and flushes them completely. The time frame for such a flush is defined by the cleanup-process frequency, by default 10 minutes.
2013-10-07migration to Solr 4.5.0Michael Peter Christen
2013-08-26index migration to lucene 4.4Michael Peter Christen
2013-08-06rise autoCommit maxTime to 3 Minutes to reduce IOsixcooler
lower mergeFactor again (5) for less segments
2013-07-13Merge branch 'master' of git://gitorious.org/~quix0r/yacy/quix0rs-yacy-rc1orbiter
2013-07-13replaced type of solr schema object sku of text_en_splitting_tight byorbiter
string
2013-07-13Fixed CHMOD on many files + added missing loggers (e.g. jena) and made some ↵Roland Haeder
noisy loggers quiet
2013-06-12switching back to the merge factor 10; the solr default.Michael Peter Christen
2013-06-11increased the solr merge factor because 4 was too much IO load forMichael Peter Christen
frequent index receiving and re-indexing after clickdepth/cr calculation.
2013-06-01enable use of solrcore.properties for property substitution of solrconfig.xmlreger
- move setting of system property solr.directoryFactory=solr.MMapDirectoryFactory to solrcore.properties - add check of os.arch for 64bit system, if it fails use default/solrcore.x86.properties (if exists) as solrcore.properties reason: on 32bit MMapDirectoryFactory may fail with..... Caused by: java.io.IOException: Map failed at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:849) at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:283)
2013-05-30ranking and boost function update, small bugfixes, better default searchMichael Peter Christen
field for solr
2013-05-30default configuration of MMapDirectoryFactory for solr, increased lockMichael Peter Christen
timeout, less documents from remote searches (too many results had easily blocked a peer)
2013-05-29removed 'later' tactic because it used too much RAM, reduced number ofMichael Peter Christen
soft commits, reduced caching size of search events, ensured that solr results are processed before connection is closed to keep that stuff not too long in RAM
2013-05-09migrated to solr 4.3.0Michael Peter Christen
2013-03-13changes in ranking computationMichael Peter Christen
- an existing ranking servlet for solr was extended. It is now possible to set boost values for fields, boost functions and boost queries. - The ranking can have different instances, but currently only the first one is used - added an abstraction layer for fields which can be used for search and those fields can be edited in the solr ranking configruation - the ranking value from solr within the field score is used to combine remote search requests, which all are created using the same locally defined boost values - reduced the number of fields which are used for search (makes it faster) - replaced some text fields by string fields (makes indexing faster) - removed classes which had no use - made a large number of experiments for a better ranking and created a temporary setting which prefers hits inside titles - adjusted also the RWI-based ranking computation to 'prefer title' - made special cases like for portal search where no post-processing and post-ranking is wanted: this keeps the original ranking order as done by Solr - fixed many bugs with old settings for ranking
2013-02-21introduced a second core named 'webgraph'. This core will hold the linkMichael Peter Christen
structure, but is not filled yet. To have the opportunity of a second core, multi-core functionality had to be implemented to the deep-embedded solr: - migrated the solr_40 directory content to a subdirectory 'collection1'; the previously used default core is now called collection1 - added solr_40/webgraph subdirectory as second core - added a servlet configuration for the second core 'webgraph' in /IndexSchema_p.html - added instance handling as addition to solr connections: all solr connectors are now instances of an solr 'instance' object; this required a complete re-design of the solr embedding - migrated also caching and sharding ontop of new instance handling - migrated the search apis to handle now the access to a specific core, the default core named 'collection1' - migrated the remote solr search interface to access shards of cores; for the yacy remote search the default core is now called 'solr'; using the peer address as solr address - migrated the solr backup and restore process: old backups cannot be used after this migration! - redesign of solr instance handling in all methods which access the instances: they cannot hold copies of these instances any more; the must retrieve the actuall connection object every time they want to write to it (this solves also some bugs when switching the index/network) - added another schema 'solr.webgraph.schema', the old solr.keys.list is replaced by solr.collection.schema
2013-01-24turned author_s into the multi-valued field author_sxtMichael Peter Christen
2013-01-21Reverted setting of MMapDirectoryFactory from solrconfig; seeMichael Peter Christen
http://forum.yacy-websuche.de/viewtopic.php?p=27509#p27509 Instead, in the start script is checked if the host is a 64 host and -Dsolr.directoryFactory=solr.MMapDirectoryFactory is set as java option Reverted the ramBufferSizeMB setting (this was not enabled anyway) because that may be too much memory for small peers and embedded systems. Activated the mergeFactor 4; this was commented out by mistake