You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Atul Kumar Tripathi <At...@virtusa.com> on 2010/08/09 15:19:48 UTC

How to integrate JackRabbit with Compass?

Hi Guys,

 

Does Jackrabbit integrate with Compass?

 

If yes then can someone please share Configuration/Code snippet?

 

Thanks & Regards. 

Atul Tripathi


---------------------------------------------------------------------------------------------

This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.

---------------------------------------------------------------------------------------------

Re indexing particular document(s) using JackRabbit 2.2 without deleting/restoring indexes folder.....

Posted by Atul Kumar Tripathi <At...@virtusa.com>.
Hi,

How can I re-index particular document(s) using JackRabbit 2.2 without deleting/restoring indexes folder.

Here is my use case:

I added some MS Office 2007 documents (docx, pptx, xlxs) using jackrabbit 1.6 which doesn't provide me feature of full text search for above types of documents.

Now I want to upgrade my Jackrabbit to version 2.2. 

As indexes were created for above documents while adding them with jackrabbit 1.6 itself so I am not able to perform content search on already added MS Office 2007 documents with Jackrabbit 2.2.

Is this possible to re-index particular document(s).

Any help will be highly appreciated.

Thanks & Regards. 
Atul Tripathi

Virtusa was recently ranked and featured in 2010 Deloitte Technology Fast 500, 2010 Global Services 100, IAOP's 2010 Global Outsourcing 100 sub-list and 2010 FinTech 100 among others.

---------------------------------------------------------------------------------------------

This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.

---------------------------------------------------------------------------------------------

Re: Search doesn't work for MS PowerPoint documents with JackRabbit 2.1.2

Posted by Jukka Zitting <jz...@adobe.com>.
Hi,

On 22/11/10 11:56, Atul Kumar Tripathi wrote:
> Method checks for
> "org.apache.jackrabbit.extractor.MsPowerPointExtractor" and creates a
> new instances of Tika OfficeParser but there seems a typo as no class
> with name "MsPowerPointExtractor" is declared. Class is named
> "MsPowerPointTextExtractor" in Jackrabbit 1.6
> (jackrabbit-text-extractors-1.6.0 and jackrabbit-text-extractors-1.6.4).

I fixed that in Jackrabbit trunk as a part of revision 1038124, and the 
fix will be included in the upcoming Jackrabbit 2.2 release.

Meanwhile I'd suggest you to stop using the textFilterClasses 
configuration unless you explicitly need to customize the set of file 
formats to be indexed. The default set of text extractors used by 
Jackrabbit when no textFilterClasses parameter is specified is pretty 
good for most normal deployments.

BR,

Jukka Zitting

Search doesn't work for MS PowerPoint documents with JackRabbit 2.1.2

Posted by Atul Kumar Tripathi <At...@virtusa.com>.
Hello,

Search doesn't work for MS PowerPoint documents with JackRabbit 2.1.2

This seems an issue in registering Tika Parser for MS PowerPoint
documents.

JackRabbit 2 uses Tika Parsers to parse content of documents and has
written a wrapper (JackrabbitParser) for Tika Parsers to provide
backwards compatibility support to 1.x..

   /**
     * Backwards compatibility method to support old Jackrabbit 1.x
     * <code>textExtractorClasses</code> configurations. Implements a
best
     * effort mapping from the old-style text extractor classes to
     * corresponding Tika parsers.
     *
     * @param classes configured list of text extractor classes
     */
    public void setTextFilterClasses(String classes) {

else if (name.equals(
 
"org.apache.jackrabbit.extractor.MsPowerPointExtractor")) {
                Parser parser = new OfficeParser();
                parsers.put("application/vnd.ms-powerpoint", parser);
                parsers.put("application/mspowerpoint", parser);
                parsers.put("application/powerpoint", parser);
}
else {
                logger.warn("Ignoring unknown text extractor class: {}",
name);
}
   }

Method checks for
"org.apache.jackrabbit.extractor.MsPowerPointExtractor" and creates a
new instances of Tika OfficeParser but there seems a typo as no class
with name "MsPowerPointExtractor" is declared. Class is named
"MsPowerPointTextExtractor" in Jackrabbit 1.6
(jackrabbit-text-extractors-1.6.0 and jackrabbit-text-extractors-1.6.4).

Because of this no parser gets registered for MS PowerPoint documents
and search doesn't work.

Any help would be highly appreciated.

Thanks & Regards. 
Atul Tripathi

Virtusa was recently ranked and featured in 2010 Deloitte Technology Fast 500, 2010 Global Services 100, IAOP's 2010 Global Outsourcing 100 sub-list and 2010 FinTech 100 among others.

---------------------------------------------------------------------------------------------

This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.

---------------------------------------------------------------------------------------------