Changes between Version 6 and Version 7 of XPATH
- Timestamp:
- 04/17/09 02:23:05 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XPATH
v6 v7 13 13 14 14 15 === Issues === 15 === Issue: XPATH on Lucene === 16 16 17 It 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 ? 17 18 … … 19 20 20 21 A 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 21 23 {{{ 22 24 # PATH … … 25 27 * This should only be access via a phrase query (ie in "") as it requires special tokenisation 26 28 }}} 29 27 30 I'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]. 28 31