#5 /var/snap/nextcloud/21026/nextcloud/extra-apps/fulltextsearch/lib/Command/Test.php(436): OCA\FullTextSearch\Command\Test->search(Object(Symfony\Component\Console\Output\ConsoleOutput), Object(OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform), Object(OCA\FullTextSearch\Provider\TestProvider), Object(OC\FullTextSearch\Model\DocumentAccess), ‘test’, Array) #4 /var/snap/nextcloud/21026/nextcloud/extra-apps/fulltextsearch/lib/Command/Test.php(584): OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform->searchRequest(Object(OCA\FullTextSearch\Model\SearchResult), Object(OC\FullTextSearch\Model\DocumentAccess)) #3 /var/snap/nextcloud/21026/nextcloud/extra-apps/fulltextsearch_elasticsearch/lib/Platform/ElasticSearchPlatform.php(336): OCA\FullTextSearch_ElasticSearch\Service\SearchService->searchRequest(Object(Elasticsearch\Client), Object(OCA\FullTextSearch\Model\SearchResult), Object(OC\FullTextSearch\Model\DocumentAccess)) #2 /var/snap/nextcloud/21026/nextcloud/extra-apps/fulltextsearch_elasticsearch/lib/Service/SearchService.php(103): json_encode(Object(OCA\FullTextSearch\Model\SearchRequest)) #1 : OCA\FullTextSearch\Model\SearchRequest->jsonSerialize() #0 /var/snap/nextcloud/21026/nextcloud/extra-apps/fulltextsearch/lib/Model/SearchRequest.php(700): OCA\FullTextSearch\Model\SearchRequest->getProviders() TypeError: Return value of OCA\FullTextSearch\Model\SearchRequest::getProviders() must be of the type array, null returned in /var/snap/nextcloud/21026/nextcloud/extra-apps/fulltextsearch/lib/Model/SearchRequest.php:114 ‘test’ An unhandled exception has been thrown:. ![]() ![]() ![]() Retreiving content from a big index (license). Thanks i will report that to github issues I arrived to make the plugin work somehow. $ sudo snap run nextcloud.occ fulltextsearch:check Please add ingest-attachment plugin to elasticsearchįulltextsearch:test ] Testing mocked provider: get indexable documents. $ sudo snap run nextcloud.occ fulltextsearch:test Now Elastic seem to be working, when i run the snap occ command i get this: I have to setup separately elasticsearch on my ubuntu and set the server to be localhost:9200. Installing the elastic search app and f ile full text search app was not enough to have it working. it might be needed to have the search indexing inside my office and pdf files. Just use the name of the file directory or folder instead of a single file name.Using nextcloud snap 18.0.4, i have no idea how i can install the plugin ingest-attachment. You can index whole folders with PDF documents to Apache Solr or Elastic Search the same way. */home/opensemanticsearch/document.pdf* Indexing a folder with PDF files to the Solr or Elastic Search Using the REST-API within your tools, script or within your browser: ![]() Opensemanticsearch-index-file *filename* API * Enter filename of the PDF file to the form If you use an file share where file monitoring is active, just copy the PDF files to an monitored folder or file directory and wait, until they are indexed automatically. If you use Open Semantic Desktop Search, just copy the PDF files to a directory that is indexed automatically or add the directory with the PDF files to shared folders for indexing and restart the virtual machine or press the "Index" button within the VM. Therefore you have to index the PDF documents or file directories or file shares that contain PDF documents to the Solr or Elastic Search server index: Desktop search Indexing a PDF file to the Solr or Elastic Search You can search and do textmining with the content of many PDF documents, since the content of PDF files is extracted and text in images were recognized by optical character recognition (OCR) automatically. Index PDF files for search and text mining with Solr or Elastic Search How to index a PDF file or many PDF documents for full text search and text mining
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |