Why are the score functions commented inside the code then? TextIndexSolr.java Line 194-195( https://github.com/apache/jena/blob/master/jena-text/src/main/java/org/apache/jena/query/text/TextIndexSolr.java). Is it possible to activate these commented features mentioned above?
On Mon, Jan 12, 2015 at 3:22 PM, Andy Seaborne <[email protected]> wrote: > 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 > > > >
