symphonists / search_index

Search Index provides an easy way to implement high performance fulltext searching on your Symphony site
32 stars 21 forks source link

2.6 Compatibility/Issues #52

Closed animaux closed 9 years ago

animaux commented 9 years ago

After updating to 2.6: New entries are not indexed and I cannot select a section to reindex.

Are these fixes possibly applicable to search index too?

brendo commented 9 years ago

Are these fixes possibly applicable to search index too?

With regards to the second part of the bug, most probably. The selectable class will be missing from the table.

I can't answer for the first part though.

moretaste commented 9 years ago

Have a similar issue on a 2.5.2 install. Doesn't have test it thoroughly but it seems

animaux commented 9 years ago

Thanks @brendo, Making the index selectable again using the elasticsearch code did work!

So, part of the problem are:

…/extensions/search_index/lib/class.entry_xml_datasource.php line 30 and …/extensions/search_index/lib/class.entry_xml_datasource.php line 36

pointing to the no more existent file …/extensions/search_index/lib/class.reindex_datasource.php

I have tried to make these lines pointing to class.datasource.section.php instead, but apparently this does not solve the problem. I can start a reindex now but it leads to a server error 500.

@brendo any chance you might have a look at this? Search index is a very vital extension for some of my sites and apparently the only major thing left (for me) broken in 2.6.x.

animaux commented 9 years ago

Unfortunately the server error is not logged into the error_log :(

brendo commented 9 years ago

Which version of Search Index are you running? It looks like some of these changes already exist in the codebase:

The current master branch works without issue on my Symphony 2.6 install. I'm able to create indexes, reindex them, add synonyms, view logs, and use both datasources.

animaux commented 9 years ago

m( D’oh … switching to 0.9.3 from the integration branch solved the issues. Sorry for bothering!

moretaste commented 9 years ago

same error still exists for me on a 2.5.2 both with the master and integration branch.

First time re-index gives and stores entries, second time a re-index and there are 0 entries. I will update this week to 2.6 to see if the error still occurs.

moretaste commented 9 years ago

Seems to work with 2.6.x