Changes between Version 6 and Version 7 of XPATH


Ignore:
Timestamp:
Apr 17, 2009, 2:23:05 AM (15 years ago)
Author:
heikki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XPATH

    v6 v7  
    1313
    1414
    15 === Issues ===
     15=== Issue: XPATH on Lucene ===
     16
    1617It would be straightforward to evaluate XPATH against complete ebRIM documents (domain object graphs). However, we do not have all ebRIM data in memory, therefore we cannot simply evaluate XPATH queries against complete ebRIM documents. This suggests that the best option is to evaluate XPATH queries against the Lucene index. How should we go about doing that ?
    1718
     
    1920
    2021A hint as to their implementation is the [http://wiki.alfresco.com/wiki/Search_Documentation#Lucene_Language description of Alfresco's Lucene index]. It appears as if they use a dedicated field in the index to operate on with XPATH :
     22
    2123 {{{
    2224#  PATH
     
    2527    * This should only be access via a phrase query (ie in "") as it requires special tokenisation
    2628 }}}
     29
    2730I'm currently looking into their sources to learn more about their implementation, specificaly [http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/util/SearchLanguageConversion.html org.alfresco.util.SearchLanguageConversion].
    2831