lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saravanan1980 <saravanan.sourira...@nbcuni.com>
Subject Re: Data Import Handler - Multivalued fields - splitBy
Date Sat, 27 Feb 2016 21:22:18 GMT
I am also having the same problem.

Have you resolved this issue?

"response": {
    "numFound": 3,
    "start": 0,
    "docs": [
      {
        "genre": [
          "Action|Adventure",
          "Action",
          "Adventure"
        ]
      },
      {
        "genre": [
          "Drama|Suspense",
          "Drama",
          "Suspense"
        ]
      },
      {
        "genre": [
          "Adventure|Family|Fantasy|Science Fiction",
          "Adventure",
          "Family",
          "Fantasy",
          "Science Fiction"
        ]
      }
    ]
  }

Please let me know, if it is resolved...

 <document name="AllDoc">
    <entity name="TitleEntity"
transformer="DateFormatTransformer,TemplateTransformer,RegexTransformer,LogTransformer"
       pk="Sgenno"
            query="EXEC ALL_SOLR_FullImport">

<field column="GENRE"  sourceColName="genre" splitBy="\|"  regex="^(.*)|$"
replaceWith=" "  />





--
View this message in context: http://lucene.472066.n3.nabble.com/Data-Import-Handler-Multivalued-fields-splitBy-tp4243667p4260300.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message