lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanislaw Osinski (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-2978) Language variable expansion in field names for search results clustering
Date Sat, 17 Dec 2011 13:48:30 GMT
Language variable expansion in field names for search results clustering

                 Key: SOLR-2978
             Project: Solr
          Issue Type: Improvement
          Components: contrib - Clustering
            Reporter: Stanislaw Osinski
            Assignee: Stanislaw Osinski
            Priority: Minor
             Fix For: 3.6, 4.0

This is a follow-up of SOLR-2939. 

Another feature of language recognizer we should mirror is the expansion of the {{lang}} token
in field names into the language code of the document (in case of multiple languages per document
- the first Carrot2-supported language code). The feature seems easy to implement in the non-distributed
setting of Solr, but the simple implementation isn't going to work in the distributed setting
because the name of the specific field to be fetched depends on the content (language) of
each matching document. Looking at the SearchClusteringEngine.getFieldsToLoad(SolrQueryRequest)
method, a quick but costly solution would be to load the contents of all stored fields. I'm
not too strong in distributed-mode Solr, but maybe this could be optimized so that only the
required fields get fetched?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message