lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fiedzia <>
Subject documents with known relevancy
Date Fri, 16 Jul 2010 12:59:00 GMT

I want to  know if what i am trying to achieve is doable using solr.

I have some objects that have tags assigned. Tag is as string with weight
so whole document that i want to index can look like that:
  id: 123,
  tags: {
          tag1: 0.01,
          tag2: 0.3,
          tagN: some_weight
Now i want to store list of tags and sort returned results by tag weight.
The list of tags can be large (up to thousands per document, though mostly
much less).
So when i am querying solr for documents containing tag1, it should return
all documents containing it,
sorted by weight of this tag. Is there any way to do that?
View this message in context:
Sent from the Solr - User mailing list archive at

View raw message