Hi;
We have Jackrabbit 2.8 in our system.
I would like to get help from you guys on how to solve a case involving
indexing names of items.
We need to be able to search (by contains) in a property in which we copy
the name given to the item.
So, there are items saved as "first-second_third.pdf" ,
"first_second-third.pdf" , "first-second-third.pdf" ,
"first_second_third.pdf" .
Well, there is a prop:name in our node type where the name is copied in node
creation.
The search uses jcr:contains(@prop:name, 'termbeingsearch')
If I search for "first" the items returned are:
"first-second_third.pdf"
"first-second-third.pdf"

If I search for "second" no results found...
If I search for "third" no results found...
If I search for "third.pdf" the items returned are:
"first_second-third.pdf"
"first-second-third.pdf"

But We need that all the terms separeted by "_", "-", " ", ".", would be
indexed, this way the item would be easily searched with "first" , "second"
, "third" and "pdf".
I suspect it refers to anything involving implement lucene, no idea.
How to achieve this in Jackrabbit?
Thanks in advanced!

Helio.




--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/How-index-according-to-my-needs-tp4661413.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to