[daisy] fulltextsearch and linking
Karel Vervaeke
karel at outerthought.org
Tue May 6 11:01:47 CEST 2008
Hm, I don't think you can just grab the index information or
extract/merge the text into a single part, you would need to investigate
that, but I think you are going to hit a lot of walls.
I'm not a fan of duplicating information just to make documents show up
in a fulltext search query, but I must admit I don't have any
suggestions other than those in my previous post.
You can still try to describe the specific problem you are trying to
solve, perhaps new ideas will pop up. Anyway, sorry, I wish I could be
more helpful :(
Regards,
Karel
On Tue, 2008-05-06 at 10:34 +0200, Bart Van den Abeele wrote:
> I was thinking in an other direction :
> Is it possible to attach the parts or the index-information of a
> document to another document?
> For example i have doc1 with a multivaluelink to doc2 and doc3. doc2
> contains the part word2 and doc3 contains the part word3. Can i
> attach the parts word2 and word3 directly to doc1, or can i grab there
> indexinformation, make the sum of it and attach this to doc1. How
> could i do this?
>
> Grtz,
> Bart
>
>
> Karel Vervaeke schreef:
> > 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
> > >
> > _______________________________________________
> > 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
> >
> >
>
> **** 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