Here it is…

ERROR 2015-04-15 12:23:27,006 (Worker thread '47') - Exception tossed: Unknown 
style: $(
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unknown style: $(
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector$EvaluatorTokenStream.nextToken(WebcrawlerConnector.java:7512)
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector$EvaluatorTokenStream.peek(WebcrawlerConnector.java:7407)
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector$MappingRule.map(WebcrawlerConnector.java:7636)
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector$MappingRules.map(WebcrawlerConnector.java:7715)
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector$DocumentURLFilter.isDocumentIndexable(WebcrawlerConnector.java:8061)
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector.processDocument(WebcrawlerConnector.java:1315)
                at 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector.processDocuments(WebcrawlerConnector.java:747)
                at 
org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:379)

Luca

Da: Karl Wright [mailto:[email protected]]
Inviato: mercoledì 15 aprile 2015 16:38
A: [email protected]
Oggetto: Re: URL Mappings

Can you include the full text of the error?

Thanks,
Karl


On Wed, Apr 15, 2015 at 9:33 AM, Basso Luca 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi Karl,
we are running ManifoldCF 2.0.2 with the Web Repository connector and the Solr 
Output connector,
which are working pretty well, but as soon as we try to use the ‘URL Mappings’ 
tab in the job definition,
in order to remove a final slash, with the following simple regex:

(.*)/$     -->    $(1)

we get an ‘Unknown style…’ error.
Please note that we’ve successfully tested such rule in advance here:
http://www.regular-expressions.info/javascriptexample.html

What is going wrong?
Is our syntax correct?
Can you please make a test on your reference system?

Thank you.

Best regards,
Luca



Reply via email to