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

Thaer Samar updated SOLR-11007:
-------------------------------
    Summary: index new discovered fileds of different types  (was: index new 
fileds)

> index new discovered fileds of different types
> ----------------------------------------------
>
>                 Key: SOLR-11007
>                 URL: https://issues.apache.org/jira/browse/SOLR-11007
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Thaer Samar
>
> Hi,
> We are trying to index documents of different types. Document have different 
> fields. fields are known at indexing time. We run a query on a database and 
> we index what comes using query variables as field names in solr. Our current 
> solution: we use dynamic fields with prefix, for example feature_i_*, the 
> issue with that
> 1)  we need to define the type of the dynamic field and to be able to cover 
> the type of discovered fields we define the following
>  feature_i_* for integers, feature_t_* for string, feature_d_* for double, 
> ....
> 1.a) this means we need to check the type of the discovered field and then 
> put in the corresponding dynamic field
> 2) at search time, we need to know the right prefix
> We are looking for help to find away to ignore the prefix and check of the 
> type



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to