Index by attached – woocommerce
-
PiteusParticipant2 years, 2 months ago #25457
Nope, i can’t save the product or send data, if i try to save I get this error https://postimg.cc/RWchb342 if i try to “send your data” it starting to loading endlessly
wpsolrKeymaster2 years, 2 months ago #25460Algolia does not provide a direct way to index PDFs: https://www.algolia.com/doc/faq/searching/can-i-index-pdfs-word-and-other-types-of-documents/
With Elasticsearch and Solr, the PDF indexing happens in two phases:
– Extraction of the text from the PDF (or .docx, .xls, …) thanks to Apache Tika (see https://www.wpsolr.com/guide/actions-and-filters/index-embedded-files/) which is included in Elasticsearch and Solr
– Indexing of the extracted textAlgolia does not provide the extraction layer (the Tika layer). Therefore WPSOLR cannot send the PDF text to the Algolia index.
PiteusParticipant2 years, 2 months ago #25461Ok, now i’ve set up Elasticsearch, but i’ve a new error 🙁
(WPSOLR) Error while indexing this post type:
Error on embedded url “https://dev.domani.com/wp/wp-content/uploads/woocommerce_uploads/2021/03/sample.pdf” of post_id 14. {“error”:{“root_cause”:[{“type”:”parse_exception”,”reason”:”No processor type exists with name [attachment]”,”processor_type”:”attachment”}],”type”:”parse_exception”,”reason”:”No processor type exists with name [attachment]”,”processor_type”:”attachment”},”status”:400}wpsolrKeymaster2 years, 2 months ago #25462You need to install the Elasticsearch ingest attachment plugin (Tika): https://www.wpsolr.com/guide/configuration-step-by-step-schematic/configure-your-indexes/create-elasticsearch-index/
PiteusParticipant2 years, 2 months ago #25463Ok thanks, new error 🙁
(WPSOLR) Error while indexing this post type:
failed to parse field [categories] of type [text] in document with id ’11’. Preview of field’s value: ‘{file=https://dev.domain.com/wp/wp-content/uploads/woocommerce_uploads/2021/03/sample.pdf, name=sample, id=580abb80-8d32-437e-81e9-2c957a4bc3c2}’PiteusParticipant2 years, 2 months ago #25674Hello again, i’ve bought license, and as agreed i’m using the version that you send me here, i noticed a bug:
when in woocommerce->All products I select checkbox of product and i delete them by group action/bulk action, wpsolr doesn’t delete all attached files from the index
You must be logged in to reply to this topic.