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-1971) Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name
Date Wed, 23 Jun 2010 18:47:50 GMT

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

Yonik Seeley commented on SOLR-1971:
------------------------------------

That doesn't fully solve the problem though... if someone is going to set a uniqueKey w/o
knowing what field it is, they also don't know the type of field it is.

if one can assume that the id field is a string, why not just also assume that this field
is named "id"... seems like "best practice".

> Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual
field name
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1971
>                 URL: https://issues.apache.org/jira/browse/SOLR-1971
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - Solr Cell (Tika extraction)
>            Reporter: Erik Hatcher
>             Fix For: Next
>
>
> This comes from an LCF need of indexing content generically into Solr, where the LCF
side does not know the field name of the schema.xml uniqueKey specified field.  You can send
in literals to Solr Cell, such as literal.id=my_unique_key, but this relies on the client
knowing that "id" is the field name.
> Let's add a parameter to Solr Cell, such as uniqueKey=my_unique_key, and underneath Solr
Cell will map that to the proper field.

-- 
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