arrow-left

All pages
gitbookPowered by GitBook
1 of 9

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

What if Datashare says 'No documents found'?

  • If you were able to see documents during your current session, you might have active filters that prevent Datashare from displaying documents, as no document might correspond to your current search. You can check in your URL if you see active filters and if you're comfortable with the possibility of losing your previously selected filters, open the menu > 'Search' > 'Documents', open the search breadcrumb on the left of the search bar, click 'Clear filters'.

  • You may not have added documents to Datashare yet. Check how to add documents for Mac, Windows or .

  • In 'Tasks' > 'Documents', in the Progress column, if some tasks are not marked as 'Done', please wait for all tasks to be done. Depending on the number of documents you added, it can take multiple hours.

Linux
Screenshot of Datashare's document search page where a text says 'No documents matched your search. Try using different filters.' and the Search breadcrumb open and the 'Clear filters' button in it highlighted
Screenshot of Datashare's task page to add document where the header of the Progress column is highlighted

'We were unable to perform your search.' What should I do?

This can be due to some syntax errors in the way you wrote your query.‌

Here are the most common errors that you should correct: ‌

hashtag
The query starts with AND

You cannot start a query with AND all uppercase. AND is reserved as a search operator.

hashtag
The query starts with OR

You cannot start a query with OR all uppercase. .

hashtag
The query contains only one double-quote: "

‌You cannot start or type a query with only one double quote. for exact phrase.

hashtag
The query contains only one parenthesis: ( or )

‌You cannot start or type a query with only one parenthesis. .

hashtag
The query contains only one forward slash: /

‌You cannot start or type a query with only one forward slash. Forward slashes are reserved for regular expressions (Regex).

hashtag
The query starts with or contains tilde: ~

‌You cannot start a query with tilde (~) or write one which contains tilde. Tilde is reserved as a search operator for or .

hashtag
The query ends with question mark: !

You cannot end a query with question mark (!). .

hashtag
The query starts with or contains caret: ^

‌You cannot start a query with caret (^) or write one which contains caret. .

hashtag
The query contains square brackets: [ or ]

You cannot use square brackets .

OR is reserved as a search operator
Double quotes are reserved as a search operator
Parenthesis are reserved for combining operators
fuzziness
proximity searches
Question mark is reserved as a search operator for excluding a term
Caret is reserved as a boosting operator
except for searching for ranges
Screenshot of Datashare's search page with 'AND ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'OR ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with '"ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ikea"' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ik"ea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with '(ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ikea)' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ik(ea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with '/ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with '~ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ik~ea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ikea!' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with '^ikea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with 'ik^ea' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'
Screenshot of Datashare's search page with '[ikea]' in the search bar and the message 'We were unable to perform your search. This might be due to a server error or a syntax error in your query'

What if the 'View' of my documents is 'not available'?

Datashare can display 'View' for some file types only: images, PDF, CSV, xlsx and tiff. Other document types are not supported yet.

Common errors

👷‍♀️ This page is currently being written by Datashare team.

List of common errors leading to "failure" in Batch Searches

hashtag
SearchException: query='AND ada'

One or several of your queries contains syntax errors.

It means that you wrote one or more of your queries the wrong way with some characters that are reserved as operators: read the list of syntax errors by clicking here.

You need to correct the error(s) in your CSV and re-launch your new batch search with a CSV that does not contain errors. Check how to create a batch search.

Datashare stops at the first syntax error. It reports only the first ​error. You might need to check all your quferies as some errors can remain after correcting the first one.

Example of a syntax error message:

SearchException: query='AND ada' message='org.icij.datashare.batch.SearchException: org.elasticsearch.client.ResponseException: method [POST], host [http://elasticsearch:9200], URI [/local-datashare/doc/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&scroll=60000ms&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 400 Bad Request] {"error":{"root_cause":[{"type":"query_shard_exception","reason":"Failed to parse query [AND ada]","index_uuid":"pDkhK33BQGOEL59-4cw0KA","index":"local-datashare"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"local-datashare","node":"_jPzt7JtSm6IgUqrtxNsjw","reason":{"type":"query_shard_exception","reason":"Failed to parse query [AND ada]","index_uuid":"pDkhK33BQGOEL59-4cw0KA","index":"local-datashare","caused_by":{"type":"parse_exception","reason":"Cannot parse 'AND ada': Encountered " <AND> "AND "" at line 1, column 0.\nWas expecting one of:\n <NOT> ...\n "+" ...\n "-" ...\n <BAREOPER> ...\n "(" ...\n "*" ...\n <QUOTED> ...\n <TERM> ...\n <PREFIXTERM> ...\n <WILDTERM> ...\n <REGEXPTERM> ...\n "[" ...\n "{" ...\n <NUMBER> ...\n <TERM> ...\n ","caused_by":{"type":"parse_exception","reason":"Encountered " <AND> "AND "" at line 1, column 0.\nWas expecting one of:\n <NOT> ...\n "+" ...\n "-" ...\n <BAREOPER> ...\n "(" ...\n "*" ...\n <QUOTED> ...\n <TERM> ...\n <PREFIXTERM> ...\n <WILDTERM> ...\n <REGEXPTERM> ...\n "[" ...\n "{" ...\n <NUMBER> ...\n <TERM> ...\n "}}}}]},"status":400}'

hashtag
elasticsearch: Name does not resolve

If you have a message which contain 'elasticsearch: Name does not resolve', it means that Datashare can't make Elastic Search, its search engine, work.

In that case, you need to re-start Datashare: check how for , or .

Example of a message regarding a problem with ElasticSearch:

SearchException: query='lovelace' message='org.icij.datashare.batch.SearchException: java.io.IOException: elasticsearch: Name does not resolve'

Mac
Windows
Linux

What do I do if Datashare opens a blank screen in my browser?

If Datashare opens a blank screen in your browser, it may be for various reasons. If it does:

  1. First wait 30 seconds and reload the page.

  2. If the screen remains blank, restart Datashare following instructions for Macarrow-up-right, Windowsarrow-up-right or Linuxarrow-up-right.

  3. If you still see a blank screen, please uninstall and reinstall Datashare

To uninstall Datashare:

On Mac, go to 'Applications' and drag the Datashare icon to your dock's 'Trash' or right-click on the Datashare icon and click on 'Move to Trash'.

On Windows, please follow .

On Linux, please delete the 3 containers: Datashare, Redis and Elastic Search, and the script.

To reinstall Datashare, see 'Install Datashare' for , or .

these stepsarrow-up-right
Mac
Windows
Linux
Screenshot of Mac's 'Applications' window with an arrow pointing at Datashare logo

I see entities in the filters but not in the documents

Datashare's filters keep the entities (people, organizations, locations, e-mail addresses) previously found.

"Old" named entities can remain in the filter of Datashare, even though the documents that contained them were removed from your Datashare folder on your computer later.

In the future, removing the documents from Datashare before indexing new ones will remove the entities of these documents too. They won't appear in the people, organizations or locations' filters anymore. To do so, you can follow .

these instructions

What if tasks are 'running' but not completing?

You started tasks, and they are running as you can see on 'http://localhost:8080/#/indexingarrow-up-right' but they are not completing.

There are two possible causes:

  • If you see a progress of less than 100%, please wait.

  • If the progress is 100%, an error has occurred, and the tasks failed to complete, which may be caused by various reasons. If you're an advanced user, you can create an issue on with the application logs.

Datashare Githubarrow-up-right

Datashare doesn't open. What should I do?

It can be due to extensions priorly installed. The tech team is fixing the issuearrow-up-right. In the meantime, you need to remove them. To do so, you can open your Terminal, copy and paste the text below:

  • On Mac

rm -rf ~/Library/datashare/plugins ~/Library/datashare/extensions
  • On Linux

rm -rf ~/.local/share/datashare/plugins ~/.local/share/datashare/extensions
  • On Windows

Press Enter. Open Datashare again.

del /S %APPDATA%\Datashare\Extensions  %APPDATA%\Datashare\Plugins