lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Agatz <>
Subject PHP output at a multiValued AND dynamicField
Date Wed, 02 Jun 2010 13:50:57 GMT
Hallo Users...

I have a Problem...
In my SolR, i have a lot of multiValued, dynamicFields and now i must print
ther Fields in php..

But i dont know how...

In schema.xml:

  <field name="P_VIP_KUNDE_ID" type="string" indexed="true" stored="true"/>
  <dynamicField name="P_VIP_KUNDE_*"  type="text"    indexed="true"
stored="true" multiValued="true"/>
  <field name="P_VIP_ADR_ID" type="string" indexed="true" stored="true"/>
  <dynamicField name="P_VIP_ADR_*"  type="text"    indexed="true"
stored="true" multiValued="true"/>
  <field name="P_VIP_PERSON_ID" type="string" indexed="true" stored="true"/>
  <dynamicField name="P_VIP_PERSON_*"  type="text"    indexed="true"
stored="true" multiValued="true"/>
  <field name="P_VIP_INFO_ID" type="string" indexed="true" stored="true"/>
  <field name="P_VIP_INFO_TEXT" type="text" indexed="true" stored="true"/>

output from Solr:

<str name="P_FILE_ITEMS_FILENAME">A201005311740560002.xml</str>
<str name="P_FILE_ITEMS_GESPERRT">NO</str>
<str name="P_FILE_ITEMS_ID">A201005311740560002</str>
<str name="P_FILE_ITEMS_LAST_CHANGE">2010-05-31 17:40:56</str>
<str name="P_FILE_ITEMS_PFAD">
<arr name="P_VIP_ADR_LAND">
<arr name="P_VIP_ADR_LANDTEXT">
<arr name="P_VIP_ADR_ORT">
<arr name="P_VIP_ADR_PLZ">
<arr name="P_VIP_ADR_POSTFACH">
<arr name="P_VIP_ADR_STRASSE">
<str>Schlo� Eicherhof</str>
<str name="P_VIP_ELEMENT_CAT">ADRESS</str>
<str name="P_VIP_KUNDE_ID">KYETG201005311740560002</str>

I don now ha is the name of the Fields, so i dont know how i get the name to
"printr" it in PHP

Maby someone of you has a answer of the problem?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message