You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Robert Goene <ro...@goene.nl> on 2005/05/18 00:10:41 UTC

ConfigurableIndexer

Hi All,

I seem to have some problems with the ConfigurableIndexer. The xpath
expressions seem to have a problem with selecting an attribute. Also, i
am not able to select any elements that are not part of the xhtml
namespace. Does anyone has a clue?

Thanx, Robert


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: ConfigurableIndexer

Posted by so...@gmail.com.
> Robert Goene wrote:
> > I seem to have some problems with the ConfigurableIndexer. The xpath
> > expressions seem to have a problem with selecting an attribute. Also, i
> > am not able to select any elements that are not part of the xhtml
> > namespace. Does anyone has a clue?

Check out:
http://lenya.apache.org/1_2_x/how-to/search.html

The examples include getting lenya:meta/dc:subject.  The /*/ at the
beginning looks silly, but it works.  I think I discovered it using
trial-and-error.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: ConfigurableIndexer

Posted by Michael Wechner <mi...@wyona.com>.
Robert Goene wrote:

> Hi All,
>
> I seem to have some problems with the ConfigurableIndexer. The xpath
> expressions seem to have a problem with selecting an attribute. Also, i
> am not able to select any elements that are not part of the xhtml
> namespace. Does anyone has a clue?


IIRC it should be possible, but maybe it was just the intention. Please take
a look at

src/java/org/apache/lenya/lucene/index/configuration2xslt.xsl

which is generating the XSLT based on the configuration in order to retrieve
the content for the LuceneDocument

It would be great if you could report back your findings ;-)

HTH

Michi

>
> Thanx, Robert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org