how to use find By Statement

Help us to improve OpenKM! Be part of the Open Source Community.
Forum rules
Please, before asking something see the documentation wiki or use the forum search function.
Post Reply
ngsilva24
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Feb 16, 2011 8:53 pm

how to use find By Statement

Post by ngsilva24 » Fri Apr 08, 2011 9:25 pm

Hi everyone, i'm new in Openkm, and i need to search many documents by context in an especific folder from OpenKm.

I was using findByContent(String token, String words) from OkmSearch (web service), but it found all documents from all OpenKm and I need just from one folder, so i found the method findByStatement(String token, String statement, String type), but i dont know if that's what i need.

Please if somebody help me there?

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: how to use find By Statement

Post by jllort » Sat Apr 09, 2011 11:10 am

FdingByContent only filter by content, nothing else, you might use findPaginated or find

ngsilva24
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Feb 16, 2011 8:53 pm

Re: how to use find By Statement

Post by ngsilva24 » Mon Apr 11, 2011 2:42 pm

Do you have some examples about that please?

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: how to use find By Statement

Post by pavila » Wed Apr 13, 2011 9:17 am

In the wiki you can find sample code at http://wiki.openkm.com/index.php/PHP_client.

Post Reply