[jira] Created: (SOLR-1971) Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-1971) Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name

JIRA jira@apache.org
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 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-1971) Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher updated SOLR-1971:
-------------------------------

    Description:
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.

  was:
This comes from an LCF 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.


> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-1971) Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ 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: [hidden email]
For additional commands, e-mail: [hidden email]