in a node index, all the content from "node indexed fields" and extracated files is merged in one "document" that is searched : and so it answers: you're interested in node 42 and node 56.
of course the view mode of the search results can be configured to list files but no smart/performant way i know to filter only those containing the searched keywords
in the other side, a file index can do the job but no smart/performant way i know to attach the parent node and even if it is done, the pdf can belong to many nodes of many node types and we should be sure of the one to render...
here is a rebased patch with the hook_uninstall renamed.
i tested it locally and t works
the branch is now added
thanks
merged
thanks
this is now merged and new version is published
thanks a lot
this is now merged
10.0.5 was published and warning added to 10.0.4 as suggested
many thanks ericgsmith
oh good catch
please suggest a patch or MR
thanks for this
ok
that was because we assume private files scheme is available, but that is not always true :)
fixed it in
https://www.drupal.org/project/search_api_attachments/releases/10.0.4 →
just run update.php or drush updb
ok i see
i'll suggest a fix
This is now merged
thanks
This is now merged
thanks
i think your need here is to make a view to search for nodes of type "Document" not a view based on files .
and then find results searching keys that are attached to the node type "Document".
Please see "SIMPLE USAGE EXAMPLE 1" in README file. it has the same case but with article content type. but it looks like what you need.
hepe it helps
will be there when 10.0.4 will be released
this is now merged
thanks
The merge Request need a rebase here
ok for this, i'll be merged
Thank you very much
it is now merged
Thank you for this finding
it is now merged :)
pushed it to 9.0.x too
this is now merged
Thanks for this
as per #68 i tested this locally and it works.
This is now merged
Please feel free to open new issues for enhancements suggested above and any other suggestion related to this feature.
A big Thank you all for making this possible and for all your contributions.
The release 10.0.1 has this in
Thanks for this
i tried it today and worked like a charm.
i can't reproduce this bug
hi,
i configured the exclusion of txt files
i cleared and reindexed items
and then it works : words in text files can no more return results
Hello,
i tested and couldn't reproduce it
Thanks
please provide a Merge Request or patch if you can
duplicate of https://www.drupal.org/project/search_api_attachments/issues/3474910 ✨ Drupal 11 Ready Needs review
Thank you very much
Here it is
https://www.drupal.org/project/search_api_attachments/releases/10.0.0 →
Hi,
drupal_get_path is used in .x branch : https://git.drupalcode.org/project/search_api_attachments/-/blob/8.x-1.x...
it is no more used in 9.x branch https://git.drupalcode.org/project/search_api_attachments/-/blob/9.0.x/s...
so i guess you're using 8.x
hopes this helps
and here is the patch
thanks
this is merged
merged
thans
Merged
thanks
thanks
this is now merged
this is now merged
thanks
merged
THis is now merged
thanks
merged
thanks for this
Thanks
can you please open à merge request for that
merged
thanks
Thanks for this contribution
looks like it needs a rebase to be mergeable
this is now merged
thanks
hi,
thanks for this work
did you test the case where we have many file fields :
example :
field1 with one.pdf
and
field2 with two.pdf
does the extra field behave well to display both of pdf content in a single view mode ?
actually all these steps are documented in the README, please feel free to reopen and add the any documentation you find useful
i thinks this is due to code deprectaion. drupal_get_path() is deprectated :
https://www.drupal.org/node/2940438 →
we need a little patch here