lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Agatz <joerg.ag...@googlemail.com>
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:

<doc>
<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">
Q:\DatenIBP\AADMS\telli_vip\xml\A201005311740560002.xml
</str>
<arr name="P_VIP_ADR_LAND">
<str>D</str>
</arr>
<arr name="P_VIP_ADR_LANDTEXT">
<str/>
</arr>
<arr name="P_VIP_ADR_ORT">
<str>Leichlingen</str>
</arr>
<arr name="P_VIP_ADR_PLZ">
<str>42799</str>
</arr>
<arr name="P_VIP_ADR_POSTFACH">
<str/>
</arr>
<arr name="P_VIP_ADR_POSTFACHOR">
<str/>
</arr>
<arr name="P_VIP_ADR_POSTFACHPL">
<str/>
</arr>
<arr name="P_VIP_ADR_STRASSE">
<str>Schlo� Eicherhof</str>
</arr>
<str name="P_VIP_ELEMENT_CAT">ADRESS</str>
<str name="P_VIP_KUNDE_ID">KYETG201005311740560002</str>
</doc>

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?

King

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