[daisy] fulltextsearch and linking

Karel Vervaeke karel at outerthought.org
Tue May 6 10:13:53 CEST 2008


Hi,

Indeed, this does not seem possible right now.
Possible approaches (Unsure if there are any that will work for you, but
at least it's a start):

- Propose a new query language construct that would solve this, file a
Jira feature request for it and attach patches (or wait until someone
picks it up, which could take a while)

- Consider changing the link direction (may not be a good idea,
depending on your document model and site requirements).

- Perform two queries: one for the FullText search and one to retrieve
the documents linking to the resulting documents. (may not be a good
idea if there ara a lot of documents)

- (Your suggestion, if I interpret it right) a pre save hook that
automatically maintains reverse links.


HTH,
Karel

On Tue, 2008-05-06 at 09:49 +0200, Bart Van den Abeele wrote:
> Hi,
> 
> I have a document that contains a multi-value linkfield that links to 
> other documents that contains parts like word-documents en pdf's.  I 
> want to find the document with the link-field with properties of that 
> document and a full-text-search over this document and the 
> word-documents that it links to.  I struggle with that last part.  I 
> don't think this is possible via the query-language.  Can i fix this 
> with a pre-savehook?  Any other ideas?
> 
>  **** DISCLAIMER ****
>  http://www.schaubroeck.be/maildisclaimer.htm
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list