From: Timo P. <ti...@pr...> - 2010-01-29 13:19:30
|
Bonjour, > > > Then I added the following statement in lucene.xsl: > <BooleanQuery> > ... > <xsl:call-template name="textField"> > <xsl-with-param name="expr" select="/request/instrument"/> > <xsl-with-param name="field" select="'title'"/> ^^^^^ > </xsl:call-template> > I might be wrong but I think I found an error here. > <Field name="instrument" string="{string(.)}" strore="true" ^^^^^^^^^^ > index="true" token="true"/> should it not be "instrument" instead of "select='title'" in the first section? You select the value of the formfield with the first xpath, the parameter is just the name of the lucene index which should be "instrument" according to your indexing scheet. Otherwise I see no obvious error in the procedure. best regards Timo |