Abstraction layer for full text search?
Wednesday, 7 August 2013 · 2 messages
CM
Christian Mahnke7 Aug 2013 07:53 #
Hi list,
is anyone aware of an abstraction layer for full text search that allows one to switch between eXist and Base-X without modifying the XQueries to search within full text ?
Best,
Christian
CG
Christian Grün7 Aug 2013 09:54 #
Hi Christian,
I’m not aware of such an abstraction layer, but I could imagine it may be difficult to provide such a layer which is flexible and fast at the same time, because eXist-db and BaseX work quite differently when it comes to full-text processing. For example, BaseX provides various features [1] that aren’t applicable to eXist-db/Lucene, and I’m pretty sure the same holds vice versa. Next, some query rewritings for BaseX may have no counterpart in eXist-db.
If you want to do simple full-text searches in BaseX, it may be easiest to use the functions from the Full-Text Module [2].
Feel free to ask for more,
Christian
[1] http://docs.basex.org/wiki/Full-Text
[2] http://docs.basex.org/wiki/Full-Text_Module
___________________________
2013/8/7 Christian Mahnke <cmahnke at googlemail.com>:
Quoted text · Christian Mahnke · 9 lines
> Hi list, > is anyone aware of an abstraction layer for full text search that allows one to switch between eXist and Base-X without modifying the XQueries to search within full text ? > > Best, > Christian > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 7.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery