How to replicate:
- create an index with multiple type
- select multiple entity type like Node, Taxonomy and File
Then there is no checkbox to check for 'File content'. Because this is not a 'file' entity type and not a field.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Seleção_012.jpg | 134.79 KB | yago elias |
| #8 | Seleção_011.jpg | 165.67 KB | yago elias |
| #7 | when_the_index_is_type-2714531-7.patch | 2.06 KB | yago elias |
| #4 | saa-file_content_multiple_index-2714531-4.patch | 2.51 KB | geekygnr |
| #2 | saa-file_content_multiple_index-2714531-1.patch | 2.48 KB | nhamelin |
Comments
Comment #2
nhamelin commentedHere is a patch that corrects this problem. Maybe is not the right way to do so, but it works.
Comment #3
geekygnr commented#2 works for me.
Comment #4
geekygnr commentedHad some problem's re-applying the patch to 1.10 here is a new one.
Comment #5
yago elias commentedComment #6
yago elias commented@geekygnr updating because your patch cannot be applyied anymore.
Comment #7
yago elias commentedUploading a new patch
Comment #8
yago elias commented@geekygnr I know another way to get file content to be indexed into the index.
I had a big queue in the work to add files and their content and other metadata. Now, if your question is that, i will show a step by step on how to do it:
field is only a single field, so if you check more fields, not only the file contents will be indexed, but the other selected fields too
Now, when you index your site, all files and their content will be indexed.
@geekygnr is that what you want?? Please answer, so we can fix this issue.
Comment #9
izus commentedhi,
to avoid loosing Yago Elias's effort, this will be merged (i reviewed the code but it's not like if a user of multiple indexes dit a manual review...)
Comment #11
izus commentedComment #13
cirrus3d commentedUsing this module I tried to have the aggregated / file contents to show in Views. However, it is available in Views only as a filter, and not as a field. For example, I can search in file contents with an exposed filter, but I cannot display the contents in a row.
I have used both the patch and Yago's directions.