On 11/01/15 19:12, Nauman Ramzan wrote:
Hey I am new in apache jena. I am using Jena's Text Query Function for
query in SOLR INDEX and I want to activate the score function. i.e

SELECT {
(?match ?score) text:query('word').
}

OR

SELECT {
?match text:query('word') ?score.
}

text:query function is sending me defaultFIeld only I just want to get more
then one records like <key,value> pair.

Thanx in advance.

The documentation:

http://jena.apache.org/documentation/query/text-query.html

does not yet cover the new feature where the subject can be

   (?var ?score)


Subject position -- outputs
Object position -- inputs

        Andy



Reply via email to