[siren-user] Exact cell query?

Jeroen Steggink jeroen at stegg-inc.com
Sun Nov 21 20:49:53 GMT 2010


Hi Mike and Renaud,

I experienced a similar problem like yours Mike.

When searching using the Solr implementation several questions have arisen.

Let's say I have the following 3 documents.

doc1:
url1 label "a"
url1 label "b"
url1 label "c"

doc2:
url2 label "a b"
url2 label "a c"
url2 label "a a c b"

doc3:
url3 label "a c"

When searching for the term "a", doc2 will get a higher score than doc1 
and doc3 will have the same score as doc1.

Firstly, when searching for a term, the documents with multiple 
occurrence of that term will get a higher score than the documents that 
only have one occurence and one term in total. Normally I would prefer 
this. However, in this case I'm not interested in the matches over the 
whole document, but the match in one triple.

Secondly, higher scores for an exact match than a not-exact match is not 
possible. I would like doc1 to have a higher score than doc2 and doc3, 
since doc1 has an exact match in the first triple.

Any ideas on how to realise this?

Cheers,

Jeroen











More information about the siren mailing list