jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hamid Reza Sahlolbey" <sahlol...@gmail.com>
Subject Lucene Analyzerr
Date Fri, 15 Feb 2008 19:32:46 GMT
I use jackrabbit 1.4 to store file in its repository. The type of files are
plain text, Ms word and PDF. I can search and find English contents also in
case of plain text and Ms Word I don't have problem with Persian language
but when I want to search in the content of a pdf file which is in Persian
language ,Lucene don't find Persian text but find English in the same pdf

First I used StandardAnalyzer but when I looked in workspace index files I
recognized that I it doesn't index Persian text so I change to
SimpleAnalyzer, Now it seems that it index Persian text right, but don't
find it(Consider that the query is the same for Msword and pdf files).

I don't want to write a new analyzer for Persian language as I need just
simple search within tokenized words(I don't have grammatical

Looking for your help with my problem.

Thanks in advance,

-----Original Message-----
From: Dave Brosius [mailto:dbrosius@mebigfatguy.com] 
Sent: 2008/02/15 10:07 ب.ظ
To: users@jackrabbit.apache.org
Subject: non versioned attributes on versioned nodes?


    I am trying to add a stream attribute to a versionable node that
represents auditing information regarding access to the node. To that end, i
would prefer that the these updates are not done in a checkout()/checkin()
scenario as i don't want these changes to be represented in the version
history. When i try to set this property however, i get an exception

javax.jcr.nodetype.ConstraintViolationException: cannot set the value of a
protected property

Am I doing something wrong, or is it not possible to update properties
outside of versioning, or am i barking up the wrong tree, and there is a
better way to do this?


View raw message