lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2166) termvector component has strange syntax
Date Fri, 15 Oct 2010 14:04:32 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921361#action_12921361
] 

Yonik Seeley commented on SOLR-2166:
------------------------------------

Here's one example snippet:

{code}
        "titl":{
          "tf":2,
          "offsets":{
            "start":10,
            "end":15,
            "start":28,
            "end":33},
          "positions":{
            "position":0,
            "position":2},
          "df":1,
          "tf-idf":2.0}},
{code}

Looks like offsets should be an array of int - start/end pairs, and positions should just
be an array of int.
Also, the "doc-0" label is strange:
{code}
  "termVectors":{
    "doc-0":{
      "uniqueKey":"0",
      "test_basictv":{
{code}

Perhaps termVectors should just be an array, and the internal lucene docid should be just
another key/value (if we really want to keep that).

> termvector component has strange syntax
> ---------------------------------------
>
>                 Key: SOLR-2166
>                 URL: https://issues.apache.org/jira/browse/SOLR-2166
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>
> The termvector  response format could really be improved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message