[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-11-18 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Description: 
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name

the /update/json/docs is only useful when all the json fields are predefined or 
in schemaless mode.

The better option would be to store the content in a store only field and index 
the data in another field in other modes

the relevant section in solrconfig.xml
{code:xml}
 initParams path=/update/json/docs
lst name=defaults
  !--this ensures that the entire json doc will be stored verbatim into 
one field--
  str name=srcField_src/str
  !--This means a the uniqueKeyField will be extracted from the fields and
   all fields go into the 'df' field. In this config df is already 
configured to be 'text'
--
  str name=mapUniqueKeyOnlytrue/str
   str name=dftext/str
/lst

  /initParams
{code}

  was:
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name

the /update/json/docs is only useful when all the json fields are predefined or 
in schemaless mode.

The better option would be to store the content in a store only field and index 
the data in another field in other modes

the relevant section in solrconfig.xml
{code:xml}
 initParams path=/update/json/docs
lst name=defaults
  !--this ensures that the entire json doc will be stored verbatim into 
one field--
  str name=srcField_src/str
  !--This means a the uniqueKeyField will be extracted from the fields and
   all fields go into the 'df' field. In this config df is already 
configured to be 'text'
--
  str name=mapUniqueKeyOnlytrue/str
/lst

  /initParams
{code}


 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
  Labels: EaseOfUse
 Fix For: 5.0, Trunk

 Attachments: SOLR-6633.patch, SOLR-6633.patch


 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name
 the /update/json/docs is only useful when all the json fields are predefined 
 or in schemaless mode.
 The better option would be to store the content in a store only field and 
 index the data in another field in other modes
 the relevant section in solrconfig.xml
 {code:xml}
  initParams path=/update/json/docs
 lst name=defaults
   !--this ensures that the entire json doc will be stored verbatim into 
 one field--
   str name=srcField_src/str
   !--This means a the uniqueKeyField will be extracted from the fields 
 and
all fields go into the 'df' field. In this config df is already 
 configured to be 'text'
 --
   str name=mapUniqueKeyOnlytrue/str
str name=dftext/str
 /lst
   /initParams
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-10-21 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Description: 
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name

the /update/json/docs is only useful when all the json fields are predefined or 
in schemaless mode.

The better option would be to store the content in a store only field and index 
the data in another field in other modes

the relevant section in solrconfig.xml
{code:xml}
 initParams path=/update/json/docs
lst name=defaults
  !--this ensures that the entire json doc will be stored verbatim into 
one field--
  str name=srcField_src/str
  !--This means a the uniqueKeyField will be extracted from the fields and
   all fields go into the 'df' field. In this config df is already 
configured to be 'text'
--
  str name=mapUniqueKeyOnlytrue/str
/lst

  /initParams
{code}

  was:
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name

the /update/json/docs is only useful when all the json fields are predefined or 
in schemaless mode.

The better option would be to store the content in a store only field and index 
the data in another field in other modes


 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
  Labels: EaseOfUse
 Attachments: SOLR-6633.patch, SOLR-6633.patch


 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name
 the /update/json/docs is only useful when all the json fields are predefined 
 or in schemaless mode.
 The better option would be to store the content in a store only field and 
 index the data in another field in other modes
 the relevant section in solrconfig.xml
 {code:xml}
  initParams path=/update/json/docs
 lst name=defaults
   !--this ensures that the entire json doc will be stored verbatim into 
 one field--
   str name=srcField_src/str
   !--This means a the uniqueKeyField will be extracted from the fields 
 and
all fields go into the 'df' field. In this config df is already 
 configured to be 'text'
 --
   str name=mapUniqueKeyOnlytrue/str
 /lst
   /initParams
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-10-20 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Description: 
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name

  was:
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param contentField=field_name to specify the field name


 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul

 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-10-20 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Attachment: SOLR-6633.patch

 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
 Attachments: SOLR-6633.patch


 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-10-20 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Description: 
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name

the /update/json/docs is only useful when all the json fields are predefined or 
in schemaless mode.

The better option would be to store the content in a store only field and index 
the data in another field in other modes

  was:
it is a common requirement to store the entire JSON as a field in Solr. 

we can have a extra param srcField=field_name to specify the field name


 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
 Attachments: SOLR-6633.patch


 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name
 the /update/json/docs is only useful when all the json fields are predefined 
 or in schemaless mode.
 The better option would be to store the content in a store only field and 
 index the data in another field in other modes



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-10-20 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Labels: EaseOfUse  (was: )

 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
  Labels: EaseOfUse
 Attachments: SOLR-6633.patch


 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name
 the /update/json/docs is only useful when all the json fields are predefined 
 or in schemaless mode.
 The better option would be to store the content in a store only field and 
 index the data in another field in other modes



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6633) let /update/json/docs store the source json as well

2014-10-20 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-6633:
-
Attachment: SOLR-6633.patch

added support in the default example schema

 let /update/json/docs store the source json as well
 ---

 Key: SOLR-6633
 URL: https://issues.apache.org/jira/browse/SOLR-6633
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
  Labels: EaseOfUse
 Attachments: SOLR-6633.patch, SOLR-6633.patch


 it is a common requirement to store the entire JSON as a field in Solr. 
 we can have a extra param srcField=field_name to specify the field name
 the /update/json/docs is only useful when all the json fields are predefined 
 or in schemaless mode.
 The better option would be to store the content in a store only field and 
 index the data in another field in other modes



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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