Zitat von Unico Hommes <[EMAIL PROTECTED]>:
> >
> 
> Please send the relevant portion of Domain.xml and DASL query.

Domain.xml:
...
                <contentindexer
classname="org.apache.slide.index.TextContentIndexer">
                                <parameter name="indexpath">store/index</parameter>
                </contentindexer>

...
        <extractor classname="org.apache.slide.extractor.PDFExtractor" uri="/files/"
                content-type="application/pdf">
        </extractor>
..

DASL Query:
        String query =
            "<D:searchrequest xmlns:D =\"DAV:\">" +
                "<D:basicsearch>" +
                    "<D:select>" +
                        "<D:prop>" +
                            "<D:getcontentlength/>" +
                        "</D:prop>" +
                    "</D:select>" +
                    "<D:from>" +
                        "<D:scope>" +
                            "<D:href></D:href>" +
                            "<D:depth>infinity</D:depth>" +
                        "</D:scope>" +
                    "</D:from>" +
                "<D:where>" +
                    "<D:contains>red</D:contains>" +
                "</D:where>" +
                "</D:basicsearch>" +
            "</D:searchrequest>";

With this query, I don't get more than one result. The content of the PDF
doesn't seem to be used in the search.

> 
> What happens when you just add a text file? Are those indexes correctly 
> as shown by the results of a DASL <contains> query?

I will try that now.

Thanks..
Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to