lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <erik.hatc...@gmail.com>
Subject Re: PHP output at a multiValued AND dynamicField
Date Wed, 02 Jun 2010 14:04:26 GMT
You probably should try the php or phps response writer - it'll likely  
make your PHP integration easier.

	Erik

On Jun 2, 2010, at 9:50 AM, Jörg Agatz wrote:

> 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
View raw message