You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "k.prasad" <pr...@hotmail.com> on 2012/05/03 08:23:51 UTC

how to disable full-text indexing on jcr:data

hi,

i want to disable full-text indexing on jcr:data.
please suggest me.

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/how-to-disable-full-text-indexing-on-jcr-data-tp4605231.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

AW: how to disable full-text indexing on jcr:data

Posted by KÖLL Claus <C....@TIROL.GV.AT>.
or look here

http://stackoverflow.com/questions/10012180/jackrabbit-textfilterclasses-deprecated-how-to-specify-extractors


greets
claus

AW: how to disable full-text indexing on jcr:data

Posted by KÖLL Claus <C....@TIROL.GV.AT>.
See http://markmail.org/message/uio4aededz6ubhkh#query:+page:1+mid:efy5via7gvfdwmc6+state:results

grets
claus

-----Ursprüngliche Nachricht-----
Von: fgiust@openmindonline.it [mailto:fgiust@openmindonline.it] Im Auftrag von Fabrizio Giustina
Gesendet: Donnerstag, 24. Mai 2012 12:50
An: dev@jackrabbit.apache.org
Betreff: Re: how to disable full-text indexing on jcr:data

Hi,

On Thu, May 3, 2012 at 1:50 PM, Peri Subrahmanya
<pe...@gmail.com> wrote:
> To answer your question if you want to turn off indexing on the data you
> could try something like this;
>
> In the repository.xml add the following entry under the workspace tag you
> can add the following:
>  <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>    <param name="textFilterClasses" value=""/>
>    Š.
>    Š
> </SearchIndex>

maybe someone could confirm this?
If I am not wrong the implementation in jackrabbit 2.4.1 for the
"textFilterClasses" attribute is the following...

    public void setTextFilterClasses(String filterClasses) {
        log.warn("The textFilterClasses configuration parameter has"
                + " been deprecated, and the configured value will"
                + " be ignored: {}", filterClasses);
    }


thanks
fabrizio

Re: how to disable full-text indexing on jcr:data

Posted by Fabrizio Giustina <fg...@gmail.com>.
Hi,

On Thu, May 3, 2012 at 1:50 PM, Peri Subrahmanya
<pe...@gmail.com> wrote:
> To answer your question if you want to turn off indexing on the data you
> could try something like this;
>
> In the repository.xml add the following entry under the workspace tag you
> can add the following:
>  <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>    <param name="textFilterClasses" value=""/>
>    Š.
>    Š
> </SearchIndex>

maybe someone could confirm this?
If I am not wrong the implementation in jackrabbit 2.4.1 for the
"textFilterClasses" attribute is the following...

    public void setTextFilterClasses(String filterClasses) {
        log.warn("The textFilterClasses configuration parameter has"
                + " been deprecated, and the configured value will"
                + " be ignored: {}", filterClasses);
    }


thanks
fabrizio

Re: how to disable full-text indexing on jcr:data

Posted by "k.prasad" <pr...@hotmail.com>.
i have tried all those things i am getting exception as below



java.lang.IllegalStateException: The repository is not available.
	at
org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:309)
	at
org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:321)
	at
org.apache.jackrabbit.j2ee.SimpleWebdavServlet.getRepository(SimpleWebdavServlet.java:42)
	at
org.apache.jackrabbit.webdav.simple.SimpleWebdavServlet.getDavSessionProvider(SimpleWebdavServlet.java:367)
	at
org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:209)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


--
View this message in context: http://jackrabbit.510166.n4.nabble.com/how-to-disable-full-text-indexing-on-jcr-data-tp4605231p4605560.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Re: how to disable full-text indexing on jcr:data

Posted by Peri Subrahmanya <pe...@gmail.com>.
I know the feeling Prasad and I concur with Jukka. I am pretty sure the
group sees the messages but just have to wait for a response or do some
digging around yourself. There is plenty of documentation, forums etc
where you will find what you need (most of the time). I had undergone a
similar experience and did struggle at first but the group is responsive
and you need to be patient.

To answer your question if you want to turn off indexing on the data you
could try something like this;

In the repository.xml add the following entry under the workspace tag you
can add the following:
 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
    <param name="textFilterClasses" value=""/>
    Š.  
    Š
</SearchIndex>

I believe this is what you are after and group please feel free to correct
it.

Thanks
-PeriS | Kuali OLE | Indiana University



On 5/3/12 5:50 AM, "Jukka Zitting" <ju...@gmail.com> wrote:

>Hi,
>
>A single message per question is quite enough. If nobody answers
>within a day or two, and you can't find the answer by yourself,
>pinging the list with a reply to your original question is fine. But
>bombarding the list and individiual developers with multiple messages
>about the same question isn't very productive.
>
>On Thu, May 3, 2012 at 8:23 AM, k.prasad <pr...@hotmail.com>
>wrote:
>> i want to disable full-text indexing on jcr:data.
>
>See http://wiki.apache.org/jackrabbit/Search for instructions on how to
>do this.
>
>BR,
>
>Jukka Zitting



Re: how to disable full-text indexing on jcr:data

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

A single message per question is quite enough. If nobody answers
within a day or two, and you can't find the answer by yourself,
pinging the list with a reply to your original question is fine. But
bombarding the list and individiual developers with multiple messages
about the same question isn't very productive.

On Thu, May 3, 2012 at 8:23 AM, k.prasad <pr...@hotmail.com> wrote:
> i want to disable full-text indexing on jcr:data.

See http://wiki.apache.org/jackrabbit/Search for instructions on how to do this.

BR,

Jukka Zitting