Hi Alvaro, It would be nice to know which KIM version you use, but assuming that you have downloaded the latest available version on site you could refer the examples that are provided for it (an that you have offline within your installation): http://ontotext.com/kim/doc/sys-doc/kim-api/howto-search-for-documents.html#sfd1
But if you use Lucene as a document storage, I would recommend that you use the keyword search http://ontotext.com/kim/doc/sys-doc/kim-api/howto-search-for-documents.html#sfd2 that implies using the Lucene query synthax which will allow you more flexibility: http://lucene.apache.org/java/docs/queryparsersyntax.html HTH, Ilian ----- Original Message ----- From: "Alvaro Hernandez" <[EMAIL PROTECTED]> To: <[email protected]> Sent: 26 July 2007, Thursday 16:39 Subject: [KIM-discussion] Search documents using document-level features > Hi to all. > > I'm trying to search documents filtering by document-level features. > > I added this piece of code: > Restriction idRestriction = new Restriction("SOURCE", new > String("AF"), > > Restriction.OPERATOR_LIKE); > > I'd like to know what operators could I use for this operation and their > meaning. > > Thank you in advance, > Alvaro Hernández > > > --------------------------------- > Moody friends. Drama queens. Your life? Nope! - their life, your story. > Play Sims Stories at Yahoo! Games. > > __________ NOD32 2421 (20070725) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > -------------------------------------------------------------------------------- > _______________________________________________ > NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of > this mailing list. > > KIM-discussion mailing list > [email protected] > http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com > > > __________ NOD32 2421 (20070725) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > _______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
