Forums / Extensions / eZ Find / moreLikeThis

moreLikeThis

Author Message

Fredrik Ardmar

Saturday 08 August 2009 10:19:58 am

Hi

Has anyone got the moreLikeThis function to return data?

Since the documentation for this function is not really detailed it would be great if someone have an example that works.

Thanks in advance

Fredrik

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

Piotrek Karaś

Thursday 24 September 2009 12:18:19 am

Hi there,

Just in the middle of trying to make it work with eZ Publish 4.1.3 and eZFind 2.0, so far no success on my dev machine, however it seems to work fine on another... Plus, eZFind search as such does work fine...

I did dig into the code a little bit, there seems to be a problem with oid query type, but that's it...

Hope someone else can share their experiences...

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Piotrek Karaś

Thursday 24 September 2009 11:28:13 am

Ok, got it running. Nothing special was necessary, the node query type works fine for me. I guess my problem was that I wasn't paying attention to the result array which provides much detail on how the query went, for example tells whether there was an error or not and also distinguishes between empty searchResult and invalid searchResult. The reason I didn't get the results was possibly related to very little content and heuristic method used.

Anyway, seems to be working fine.

Now working on thesaurus and flection integration ;)

Good luck,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu