jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Perez <mper...@gmail.com>
Subject Re: Another issue with text filtering
Date Fri, 28 Oct 2005 11:52:27 GMT
mmmm

but that (//*[jcr:contains(., 'phrase')]) will search all nodes with that
phrase on *any" property. I want to search only on the indexed text. (this
is because my users can choose where they want to search (keywords, name,
notes, *content*)

Isn't it possible?

Thanks


On 10/28/05, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
>
> Martin Perez wrote:
> > Sorry for the delay Marcel, I had other issues here at work.
>
> no worries, we all have ;)
>
> > The patch compiles and works. Now the same amount of opertions (4) are
> done,
> > but they happen on the background. Well, I'm not sure about the impact
> of
> > this. What if one user wants to work with the object?
>
> ok, thanks for the feedback, I'll have a deeper look at it and post my
> findings in the jira issue you created.
>
> > One last question (I promise it :)). How can I search now on that text
> > parsed content? I was using something like
> [jcr:contains(@jcr:data,phrase)]
> > but this, as could be expected, does not work.
>
> //*[jcr:contains(., 'phrase')]
>
> will do it. the extracted text is indexed as a hidden fulltext field
> that is associated with the node and not the jcr:data property.
>
> regards
> marcel
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message