Re: [Tracker] tracker-query + rdf




On Sat, 2008-04-05 at 20:26 +0200, Florian Dorfbauer wrote:
I have a questions concerning tracker-query

I just prepared a rdf file, limiting my search results to a specific
search path and to files > 1000bytes: 
<rdfq:Condition>
    <rdfq:and>
        <rdfq:startsWith>
            <rdfq:Property name="File:Path" />
            <rdf:String>/home/flo/stuff </rdf:String>
        </rdfq:startsWith>
            <rdfq:greaterThan>
                    <rdfq:Property name="File:Size" />
                    <rdf:Integer>1000</rdf:Integer>
              </rdfq:greaterThan>
    </rdfq:and>
</rdfq:Condition>

However, I could not get any results.
Is this the right way to search within a given directory?



there is a bug with rdf query using the stemmed value to search against

try replacing the StartsWith value with " home flo stuff" and see if
that works

I should really fix this soon

jamie





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]