luccioman
bdafb14336
Removed redundant synchronization lock on network switch function
...
Was useless as done in an already synchronized block, and the lock
object was assigned a new value in that same block, and nowhere else a
lock is requested on that same object.
6 years ago
luccioman
d5f44ea216
Removed unnecessary synchronization lock from serverSwitch constructor
...
Lock was useless here as it was set on an object instance attribute
while the object itself is not yet constructed and no other threads can
access it.
6 years ago
tangdou1
f19570a797
Update zh.lng
6 years ago
tangdou1
edb431cf8a
Update zh.lng
6 years ago
luccioman
dcee2ee6a6
Use standard Java annotation syntax instead of custom Javadoc tag
...
For better support by building tools.
As reported by @KnustJohn_twitter , the custom
[@phase](https://maven.apache.org/plugin-tools/maven-plugin-tools-java/index.html )
Javadoc tag made NetBeans fail on Javadoc generation for the
GitRevmavenTask class.
Using instead standard Java 5
[annotations](https://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/using-annotations.html#POM_configuration )
this is no more an issue.
6 years ago
luccioman
e1bc035496
Ignore Eclipse projects config files derived from maven pom.xml
6 years ago
luccioman
dcad393fe5
Fixed exceeding max size of failreason_s Solr field on large link list
...
When using the 'From Link-List of URL' as a crawl start, with lists in
the order of one or more thousands of links, the failreason_s Solr field
maximum size (32kb) was exceeded by the string representation of the URL
must-match filter when a crawl URL was rejected because not matching.
6 years ago
luccioman
f467601561
Properly lock solrInstances for reboot and restoration of embedded Solr
...
Putting a synchronization lock directly on the solrInstances property
was ineffective as it is assigned a new (unlocked) instance in these
operations.
6 years ago
luccioman
9630f81306
Fixed small unnecessary lines of code
6 years ago
luccioman
26aa5f7a0f
Suppress compilation warning on unit testing intentional failure
6 years ago
luccioman
876bcd2f54
Fixed useless comparison between int parameter and Long.MAX_VALUE
6 years ago
luccioman
534f09e92b
Added and updated hint messages about remote crawler status
...
To help identify why remote crawl results may not be received.
6 years ago
luccioman
c726154a59
Fixed removal of URLs from the delegatedURL remote crawl stack
...
URLs were removed from the stack using their hash as a bytes array,
whereas the hash is stored in the stack as String instance.
6 years ago
luccioman
2bdd71de60
Added server side columns sorting on the Process Scheduler table
...
For easier usage of large tables in the Table_API_p.html page.
6 years ago
luccioman
bb51555830
Removed remaining unsafe accesses to SimpleDateFormat instances.
...
SimpleDateFormat must not be used by concurrent threads without
synchronization for parsing or formating dates as it is not thread-safe
(internally holds a calendar instance that is not synchronized).
Prefer now DateTimeFormatter when possible as it is thread-safe without
concurrent access performance bottleneck (does not internally use
synchronization locks).
6 years ago
reger
6b7883900c
update bootstrap hosts
6 years ago
luccioman
39f7f5b074
Updated the JRE URL from 8u131 to 8u171 for the MS Windows installer
6 years ago
luccioman
f895745e1c
Removed more unsafe concurrent accesses to SimpleDateFormat instances.
...
SimpleDateFormat must not be used by concurrent threads without
synchronization for parsing or formating dates as it is not thread-safe
(internally holds a calendar instance that is not synchronized).
Prefer now DateTimeFormatter when possible as it is thread-safe without
concurrent access performance bottleneck (does not internally use
synchronization locks).
6 years ago
luccioman
5c6c61809a
Fixed JavaScript sorting of tables with cells containing an input field
6 years ago
luccioman
3885fd64a0
Fixed Table_API_p.html current table page loss on row editing.
...
Reset only to the first table page when the search query is modified
6 years ago
luccioman
e97580dfc7
Fixed unsafe conccurent access to generic SimpleDateFormat instances
...
SimpleDateFormat must not be used by concurrent threads without
synchronization for parsing or formating dates as it is not thread-safe
(internally holds a calendar instance that is not synchronized).
Prefer now DateTimeFormatter when possible as it is thread-safe without
concurrent access performance bottleneck (does not internally use
synchronization locks).
6 years ago
luccioman
38a3a5e5ad
Fixed a NullPointerException case in the suggest api
6 years ago
luccioman
8811700e2e
Upgraded Jetty dependency from 9.4.9 to 9.4.11
7 years ago
luccioman
d53c33e4ef
Fixed potential infinite loop case (does not occur in current code base)
7 years ago
luccioman
a15ac8e0ca
Made CrawlProfile loading tolerant to malformed json string attribute
7 years ago
luccioman
a715bb7876
Fixed rendering of solr mustNoMatch value on CrawlProfileEditor_p.xml
7 years ago
luccioman
0b302c5004
Do not block whole server startup on persisted crawl profile load error
7 years ago
luccioman
b159564c72
Properly render json string attributes in the crawl profile html editor
7 years ago
luccioman
4d9aa4ed1e
Fixed default crawl profile solr mustnotmatch query from previous commit
7 years ago
luccioman
cced94298a
Added a new crawler document filter type using Solr syntax
...
This makes possbile to set up much more advanced document crawl filters,
by filtering on one or more document indexed fields before inserting in
the index.
7 years ago
luccioman
2c155ece77
Fixed JUnit test after removal of unused Transformer
7 years ago
Michael Christen
e0dc632020
removed transformer
...
it was not used any more
7 years ago
luccioman
495ca57f61
Additional minor fix in Italian translation
7 years ago
luccioman
eb94986f95
Added Italian in available web interface languages list
7 years ago
luccioman
378fe3f079
Fixed various minor mistakes in italian translation
7 years ago
luccioman
6df1e543f3
Merge pull request #183 from SebastianoPistore/master
...
Added Italian translation.
7 years ago
luccioman
9bc7b6c39d
Allow edtion of scheduled next execution dates for finer control
...
Can be useful more especially when scheduling many API calls over a long
period of time to precisely adjust each scheduled date/time.
7 years ago
Sebastiano Pistore
ecccc44865
Added Italian translation.
7 years ago
luccioman
40e8c7b89b
Use the heavy ConcurrentUpdateSolrClient only when necessary
...
Prefer the lightweight HttpSolrClient when no updates are performed on
the remote Solr instance, as recommended by Solr documentation itself.
7 years ago
luccioman
bd4cfeda3f
Add a max acceptable limit to the size of Solr responses on p2p search
...
Following activation of gzip compression on responses, to ensure
uncompressed content can fit on available memory.
7 years ago
luccioman
de4ea95687
Consistently allow gzip compression of remote Solr responses
...
Was already enabled when requesting remote Solr with https or with
authentication (as an external Solr index)
7 years ago
luccioman
cea8187161
Reuse expired connections evictors threads provided by apache and solr
7 years ago
luccioman
b5dc1f376f
Made outgoing pools max total connections user configurable
...
For a finer control over the maximum simultaneously active outgoing
connections.
7 years ago
luccioman
387d646c0e
Added gzip compression of responses returned to user-agents accepting it
...
Enabled as default, but can be disabled using the "Server Access
Settings" admin page.
7 years ago
luccioman
a7a4ba3287
Apply remote solr configured timeout on getting connection from pool
7 years ago
luccioman
a1990202ab
Fixed unresolve-pattern case on old html title
7 years ago
luccioman
ee6670fb8f
Use a common pooled http connection manager for remote solr instances
...
For a better control on the maximum simultaneous outgoing http
connections, as already done for any other http connections (crawls, rwi
search, p2p protocol) using the net.yacy.cora.protocol.http.HTTPClient
7 years ago
luccioman
d28f9ba0f6
Removed use of deprecated ConcurrentUpdateSolrClient constructor
7 years ago
luccioman
8a749aa5ad
Trace level log message for monitoring remote solr response times
7 years ago
luccioman
35826a3091
Added a search page customization setting to display or not favicons
...
If not interested in displaying this on your search results and notably
on a peer with limited resources this can help saving some CPU and
outgoing network connections.
7 years ago