Hi folks,

I posted with subject "list search terms" last night but did not get any 
response. Mabye I asked the wrong question?

I want to extract a list of search terms/tokens that actually deliver a hit, 
when a search is executed.

The search provided in Magnolia 2.1 is implemented accessing content from the 
repository with a XPATH expression. For search terms 'test1', 'test2'
this XPATH would be executed:

//[EMAIL PROTECTED]:primaryType=\'mgnl:content\']/*/*[jcr:contains(., 'test1') 
and 
jcr:contains(., 'test2')]

One way to get all possible search terms would be to traverse the whole 
repository and tokenize all content. However, this does not seem like a smart 
way to do it. 

For searching it makes lots of sense to make available a list of possible 
search terms. If you have any ideas how this could be done, please give me a 
hint.

Thank you, Christoph

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to