David Pilato
348b05a50e
Add licences
2015-08-24 16:21:30 +02:00
David Pilato
75b8075a53
[test] move to real integration tests
...
We have a security manager issue with [Bouncy Castle](http://www.bouncycastle.org/wiki/display/JA1/Using+the+Bouncy+Castle+Provider's+ImplicitlyCA+Facility ).
Recommended permissions:
```
grant {
permission java.security.SecurityPermission "putProviderProperty.BC";
permission java.security.SecurityPermission "insertProvider.BC";
permission org.bouncycastle.jce.ProviderConfigurationPermission "BC", "ecImplicitlyCA, threadLocalEcImplicitlyCA";
};
```
Steps to reproduce the issue:
```sh
cd target/integ-tests/elasticsearch-2.0.0-SNAPSHOT
# Configure elasticsearch for SENSE (if you need)
echo "http.cors.enabled: true" >> config/elasticsearch.yml
echo "http.cors.allow-origin: /.*/" >> config/elasticsearch.yml
echo "http.cors.allow-credentials: true" >> config/elasticsearch.yml
# Launch elasticsearch
sh bin/elasticsearch
```
Then run this test script in SENSE:
```json
DELETE test
PUT test
{
"settings": {
"index.mapping.attachment.ignore_errors": false
},
"mappings": {
"doc":{
"properties":{
"file1":{
"type":"attachment"
},
"file2":{
"type":"attachment"
}
}
}
}
}
PUT test/doc/1
{
"file1": "PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFsLy9FTiINCiAgICAgICAgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+DQo8aHRtbCBsYW5nPSJmciI+DQo8aGVhZD4NCiAgICA8dGl0bGU+SGVsbG88L3RpdGxlPg0KICAgIDxtZXRhIG5hbWU9ImRhdGUiIGNvbnRlbnQ9IjIwMTItMTEtMzAiPg0KICAgIDxtZXRhIG5hbWU9IkF1dGhvciIgY29udGVudD0ia2ltY2h5Ij4NCiAgICA8bWV0YSBuYW1lPSJLZXl3b3JkcyIgY29udGVudD0iZWxhc3RpY3NlYXJjaCxjb29sLGJvbnNhaSI+DQo8L2hlYWQ+DQo8Ym9keT5Xb3JsZDwvYm9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WYz/Qvz8/fT8pL1AgLTEwMjg+Pg0KZW5kb2JqDQoNCnhyZWYNCjAgMTcNCjAwMDAwMDAwMDAgNjU1MzUgZiANCjAwMDAwMTM0NzAgMDAwMDAgbiANCjAwMDAwMDAwMTkgMDAwMDAgbiANCjAwMDAwMDAyNzYgMDAwMDAgbiANCjAwMDAwMDAyOTYgMDAwMDAgbiANCjAwMDAwMDA0NzMgMDAwMDAgbiANCjAwMDAwMTM2MTMgMDAwMDAgbiANCjAwMDAwMDA1MTMgMDAwMDAgbiANCjAwMDAwMTI0NzAgMDAwMDAgbiANCjAwMDAwMTI0OTIgMDAwMDAgbiANCjAwMDAwMTI2ODcgMDAwMDAgbiANCjAwMDAwMTMwNzEgMDAwMDAgbiANCjAwMDAwMTMzMTIgMDAwMDAgbiANCjAwMDAwMTMzNDUgMDAwMDAgbiANCjAwMDAwMTM3MTIgMDAwMDAgbiANCjAwMDAwMTM4MDkgMDAwMDAgbiANCjAwMDAwMTM5ODQgMDAwMDAgbiANCnRyYWlsZXINCjw8L1NpemUgMTcvUm9vdCAxNCAwIFINCi9FbmNyeXB0IDE2IDAgUg0KL0luZm8gMTUgMCBSDQovSUQgWyA8NTJBOUE5NEE2MzExODQ3QTk2NkI1NjIxRDc3QTRERDM+DQo8NTJBOUE5NEE2MzExODQ3QTk2NkI1NjIxRDc3QTRERDM+IF0NCi9Eb2NDaGVja3N1bSAvNEE4NTkwMDE4QURDRjVCQjRCQTQ1NDFDQUFDQjFBNEUNCj4+DQpzdGFydHhyZWYNCjE0MTIyDQolJUVPRg==",
"hello": "world"
}
POST test/_refresh
GET test/_search
{
"query": {
"match": {
"hello": "world"
}
}
}
```
Closes #149 .
2015-08-24 16:21:30 +02:00
David Pilato
b0567d7c18
[build] Update to elasticsearch 2.0.0
...
Fix compiling issues.
Also fix test issues.
Need now to move old integration tests to RESTIT
Closes #148 .
2015-08-24 16:21:21 +02:00
David Pilato
5af2a4d63d
[build] Update to elasticsearch 2.0.0
...
We need to define `<elasticsearch.version>` in `pom.xml` as we now inherit from elasticsearch project parent pom.
But `elasticsearch.version` is set by default to `project.version` which is here `3.0.0-SNAPSHOT` for the mapper project.
Related to #148
2015-08-19 10:24:09 +02:00
David Pilato
560a761b2f
Update to Tika 1.10
...
Release 1.10 - 8/1/2015
* Tika Config XML can now be used to create composite detectors,
and exclude detectors that DefaultDetector would otherwise
have used. This brings support in-line with Parsers. (TIKA-1702)
* Reverted to legacy sort order of parsers that was
mistakenly reversed in Tika 1.9 (TIKA-1689).
* Upgrade to POI 3.13-beta1 (TIKA-1667).
* Upgrade to PDFBox 1.8.10 (TIKA-1588).
* MimeTypes now tries to find a registered type with and
without parameters (TIKA-1692).
* Added more robust error handling for encoding detection
of .MSG files (TIKA-1238).
* Fixed bug in Tika's use of the Jackcess parser that
prevented reading of v97 Access files (TIKA-1681).
* Upgrade xerial.org's sqlite-jdbc to 3.8.10.1. NOTE:
as of Tika 1.9, this jar is "provided." Make sure
to upgrade your provided jar! (TIKA-1687).
* Add header/footer extraction to xls (via Aeham Abushwashi)
(TIKA-1400).
* Drop the source file name from the embedded file path in
RecursiveParserWrapper's "X-TIKA:embedded_resource_path"
(TIKA-1673).
* Upgraded to Java 7 (TIKA-1536).
* Non-standards compliant emails are now correctly detected
as message/rfc822 (TIKA-1602).
* Added parser for MS Access files via Jackcess. Many thanks
to Health Market Science, Brian O'Neill and James Ahlborn
for relicensing Jackcess to Apache v2! (TIKA-1601)
* GDALParser now correctly sets "nitf" as a supported
MediaType (TIKA-1664).
* Added DigestingParser to calculate digest hashes
and record them in metadata. Integrated with
tika-app and tika-server (TIKA-1663).
* Fixed ZipContainerDetector to detect all IPA files
(TIKA-1659).
Closes #147 .
2015-08-19 10:14:33 +02:00
Clinton Gormley
7f1926dcbf
Changed 1.x version to 1.7
2015-07-17 17:36:57 +02:00
Tanguy Leroux
07b475bb48
update documentation with release 2.7.0
2015-07-17 15:11:40 +02:00
Ryan Ernst
da4f00dde1
improve doc tests, exposes a previously existing problem with encrypted
...
pdfs that was hidden
2015-07-07 13:37:07 -07:00
Ryan Ernst
8f3ccff057
fix jarhell
2015-07-07 13:36:43 -07:00
Ryan Ernst
8c84f5a704
Fix compile
2015-07-07 07:54:33 -07:00
Robert Muir
1e84dbd32b
Merge pull request #140 from rmuir/tika19
...
Upgrade tika to 1.9
2015-06-23 19:06:34 -04:00
Robert Muir
4d22f92608
Upgrade tika to 1.9. Closes #129
2015-06-23 17:41:42 -04:00
David Pilato
91caf3cf3b
update documentation with release 2.6.0
2015-06-11 13:22:53 +02:00
David Pilato
06d84cd502
Create branch es-1.6
2015-06-11 13:13:09 +02:00
Simon Willnauer
f743ebb87f
Fix compile errors after elasticsearch-core master refactorings and multi-module builds
2015-06-08 11:46:06 +02:00
Robert Muir
cf97e14ff0
mark slow tests
2015-05-27 20:33:26 -04:00
Robert Muir
bac187c4dc
fix forbidden api usage
2015-05-26 09:54:31 -04:00
Michael McCandless
2da374f39d
Absorb ImmutableSettings into Settings; fix other pre-existing compilation issues, but there are still forbidden API failures
2015-05-26 09:25:44 -04:00
Robert Muir
7263437ca5
remove logging properties
2015-05-22 09:33:32 -04:00
Robert Muir
2d3ab9500b
remove tabs
2015-05-22 00:34:36 -04:00
Robert Muir
95de2e0a5e
switch to plugin pom
2015-05-21 22:56:06 -04:00
Robert Muir
4e693efced
remove duplicate test config
2015-05-21 16:52:37 -04:00
Robert Muir
3fd216bc60
engage forbidden apis
2015-05-21 10:37:37 -04:00
Ryan Ernst
d8e595b76a
Fix attachment mapper tests to pass id through api instead of _id in a document
2015-05-13 17:05:33 -07:00
Robert Muir
9298be93f6
disable securitymanager in tests, until #129 is addressed in tika
2015-05-12 07:38:55 -04:00
Ryan Ernst
765afb655e
Fix attachment mapper to expose subfields.
...
The content mapper is now true subfield. There is limited backcompat
support for the previous behavior of indexing and querying as the main
field name. While indexes pre ES 2.0 can still be read, the content
must now be queried with `FIELDNAME.content`.
2015-05-11 23:21:40 -07:00
David Pilato
1c030f6f75
Update to Tika 1.8
...
Tika 1.8 has been released. See https://dist.apache.org/repos/dist/release/tika/CHANGES-1.8.txt
We can replace:
```java
public static boolean isLocaleCompatible() {
String language = Locale.getDefault().getLanguage();
boolean acceptedLocale = true;
if (
// We can have issues with JDK7 Patch < 80
(JVM_MAJOR_VERSION == 1 && JVM_MINOR_VERSION == 7 && JVM_PATCH_MAJOR_VERSION == 0 && JVM_PATCH_MINOR_VERSION < 80) ||
// We can have issues with JDK8 Patch < 40
(JVM_MAJOR_VERSION == 1 && JVM_MINOR_VERSION == 8 && JVM_PATCH_MAJOR_VERSION == 0 && JVM_PATCH_MINOR_VERSION < 40)
) {
if (language.equalsIgnoreCase("tr") || language.equalsIgnoreCase("az")) {
acceptedLocale = false;
}
}
return acceptedLocale;
}
```
by
```java
public static boolean isLocaleCompatible() {
return true;
}
```
Related to https://issues.apache.org/jira/browse/TIKA-1526 and #105
Note that Content-type has changed a bit and now returns something like `application/xhtml+xml; charset=ISO-8859-1` instead of `application/xhtml+xml`.
Closes #112 .
(cherry picked from commit bf4af47971ed07bfa126409413c435f121444c3c)
2015-05-07 10:17:59 +02:00
Robert Muir
2f457111f9
Merge pull request #128 from elastic/get_past_mapping_changes
...
Fix the build and try to migrate past mappings changes
2015-05-05 15:10:39 -07:00
Ryan Ernst
a83f98d018
fix standalone and remove unecessary override
2015-05-05 15:08:30 -07:00
Robert Muir
7ce86d95fe
Fix the build and try to migrate past mappings changes, but there
...
is an @AwaitsFix test remaining with regards to copyTo behavior.
2015-05-05 13:43:31 -04:00
David Pilato
65a83e63d3
Mappings: Simplified mapper lookups
...
Due to https://github.com/elastic/elasticsearch/pull/10705
We need to adapt the mapper attachment plugin to version 2.0.0
Closes #125 .
2015-04-25 16:29:35 +02:00
David Pilato
7e2a9dbf0c
update documentation with release 2.5.0
2015-03-31 17:59:01 +02:00
David Pilato
d2c02b19fc
Don't wrap exceptions in `MapperParsingException`
...
Some exceptions might not be serializable. It would be safer not to wrap them in a `MapperParsingException` but just create the `MapperParsingException`.
Related to #113 .
(cherry picked from commit e58878c)
(cherry picked from commit a673185)
2015-03-31 14:41:47 +02:00
David Pilato
cbad7dce76
Cleanup: Remove unsafe field in BytesStreamInput
...
Related to https://github.com/elastic/elasticsearch/pull/10157
BytesStreamInput does not support anymore `BytesStreamInput(byte[], boolean)`
Closes #120 .
2015-03-30 15:00:50 +02:00
David Pilato
3154510fad
Update owner to elastic
...
Fix typo in previous commit
(cherry picked from commit 5303bc0)
(cherry picked from commit d3dab9b)
(cherry picked from commit 3ace2bb)
2015-03-30 14:53:58 +02:00
Robert Muir
51da1fe2a1
parse java.specification.version not java.version, so that it is robust
2015-03-30 14:50:18 +02:00
David Pilato
d20c8861ca
Update owner to elastic
...
(cherry picked from commit c4d60ed)
(cherry picked from commit 450d088)
2015-03-30 11:36:10 +02:00
David Pilato
9f6519f84a
Move parent after artifact coordinates
2015-03-30 11:35:54 +02:00
Robert Muir
021483626c
Merge pull request #117 from rmuir/exclude-jhighlight
...
Exclude jhighlight dependency, which contains LGPL-only files
2015-03-20 14:55:00 -04:00
Robert Muir
977a7247c7
Exclude jhighlight dependency, which contains LGPL-only files
2015-03-20 14:42:55 -04:00
David Pilato
e08ebe9efa
create `es-1.5` branch
2015-03-16 16:52:08 -07:00
David Pilato
208c76e45e
[Test] Fix remaining static objects after running tests
...
Test framework detects when static objects are not released when running tests.
This commit remove usage of static objects when possible.
2015-02-23 17:46:28 +01:00
David Pilato
d4d54fe744
update documentation with release 2.4.3
2015-02-23 16:56:39 +01:00
David Pilato
cfd83443f1
Add test for asciidoc format
...
Related to #29 .
2015-02-23 16:43:45 +01:00
David Pilato
4f65664916
Tika might fails depending on the Locale
...
Tika might fail with some Locale under some JVMs. We now check that won't happen before creating a Tika instance.
That will generate a `WARN` in logs like:
```
Tika can not be initialized with the current Locale [tr] on the current JVM [1.7.0_60]
```
To check that Tika is not initialized, you can run the test suite with:
```sh
mvn test -Dtests.output=always -Dtests.locale=tr
```
Closes #105 .
(cherry picked from commit d6d63f7)
(cherry picked from commit 532bdf7)
2015-02-23 14:49:08 +01:00
David Pilato
a10c35f0eb
[Test] move test package to o.e.index.mapper.attachment
...
Our package naming for tests is inconsistent.
We should move tests from:
* `o.e.index.mapper.xcontent` to `o.e.index.mapper.attachment.test.unit`
* `o.e.plugin.mapper.attachments.test` to `o.e.index.mapper.attachment.test.integration`
* `StandaloneRunner` class to `o.e.index.mapper.attachment.test.standalone`
Also rename resource dirs to match the test name so it's definitely easier to find mappings used for each test.
Closes #110 .
2015-02-23 11:54:38 +01:00
David Pilato
4ffa06d773
[Doc] highlighting example is incorrect
...
Closes #107 .
2015-02-23 11:10:50 +01:00
David Pilato
6d77b085eb
[Test] Add highlighting test
...
Closes #108 .
(cherry picked from commit 2c96550)
(cherry picked from commit 440e534)
2015-02-23 11:10:49 +01:00
David Pilato
36344ac8b8
[Internal] Fix field mappers to always pass through index settings
...
Caused by https://github.com/elasticsearch/elasticsearch/pull/9780 we now need to pass index settings instead of empty settings.
Closes #109 .
2015-02-23 11:04:35 +01:00
David Pilato
c3c9f66d0d
Indexing docx file fails
...
I use ElasticSearch 1.4.3 with mapper-attachment plugin 2.4.2 (TIKA 1.7).
I get an error when indexing **specific** docx file:
> "[DEBUG][org.elasticsearch.index.mapper.attachment.AttachmentMapper] Failed to extract [-1] characters of text for [null]: [org.apache.poi.xwpf.usermodel.XWPFSDT.getContent()Lorg/apache/poi/xwpf/usermodel/ISDTContent;]"
But if i use mapper-attachment plugin 2.4.1 (TIKA 1.5) there is no error and content is parsed successfully.
Caused by this change #94 .
Closes #104 .
2015-02-20 19:02:43 +01:00