Giter VIP home page Giter VIP logo

elasticjaspersite's People

Contributors

mrwho avatar wedjaa avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

amiablearul

elasticjaspersite's Issues

Unable to place input parameters within query

Hi,

First off a small disclaimer, I'm not hugely experienced with either Elasticsearch or JasperReports, so apologies if I'm missing something simple.

It doesn't seem to be possible to place parameters (e.g.$P{parameter_name} ) for input controls within the Elasticsearch query, without receiving a Parse Failure exception. I'm fairly certain it's because of the {} special characters confusing things. I've tried escaping the curly brackets with no success.

Is this functionality supported by the plugin? Or am I just missing something?

Otherwise, really great plugin guys!

Error on DataAdpater Creation

Hi all,

first at all, thanks for this great project and thanks for sharing it, hope we can contribute in some way.

i have a problem when i try to create a DataAdapter, this is the details of the error when i have pushed test, for testing my configuration (host:192.168.x.x clustername: elasticsearch query facets port: 9300):

java.lang.AbstractMethodError: net.wedjaa.jasper.elasticsearch.adapter.ESAdapterFactory.createDataAdapterService(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/data/DataAdapter;)Lnet/sf/jasperreports/data/DataAdapterService;
at com.jaspersoft.studio.data.DataAdapterServiceFactoryImpl.getDataAdapterService(DataAdapterServiceFactoryImpl.java:46)
at net.sf.jasperreports.data.DataAdapterServiceUtil.getService(DataAdapterServiceUtil.java:81)
at com.jaspersoft.studio.data.wizard.AbstractDataAdapterWizard$3.run(AbstractDataAdapterWizard.java:164)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

as we see thought wireshark and tcpdump there arent attempt to connect to 9300 tcp port. How can we solve theese issues ?

Top Hits Aggregation Usage

Hi again,

When querying Elasticsearch with a Top Hits aggregation (using an aggregations data adapter), the plugin reads in the hits as a single field with a class type of org.elasticsearch.search.internal.InternalSearchHits. This prints out in the report as something like org.elasticsearch.search.internal.InternalSearchHits@524df193 rather than the actual contents of the hit.

Is there a way I'm missing to get the contents of the hit into the report?

Thanks very much!

Exception: None of the configured nodes are available

Hi,

First of all, thanks for this great plugin!

Now to the boring part, I have some issues with Jaspersoft Studio 6.2.0 and the ElasticJasperSite plugin when trying to connect to the ES (version 2.1) server. The exception I get is:

org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
    at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:278)
    at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:197)
    at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
    at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:334)
    at org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:424)
    at org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1116)
    at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
    at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)
    at net.wedjaa.elasticparser.ESSearch.executeSearch(ESSearch.java:492)
    at net.wedjaa.elasticparser.ESSearch.executeSearch(ESSearch.java:504)
    at net.wedjaa.elasticparser.ESSearch.runQuery(ESSearch.java:541)
    at net.wedjaa.elasticparser.ESSearch.runQuery(ESSearch.java:554)
    at net.wedjaa.elasticparser.ESSearch.getFields(ESSearch.java:607)
    at net.wedjaa.elasticparser.ESSearch.getFields(ESSearch.java:617)
    at net.wedjaa.elasticparser.ESSearch.test(ESSearch.java:624)
    at net.wedjaa.jasper.elasticsearch.adapter.ESAdapterService.test(ESAdapterService.java:114)
    at com.jaspersoft.studio.data.wizard.AbstractDataAdapterWizard$3.runOperations(AbstractDataAdapterWizard.java:162)
    at com.jaspersoft.studio.utils.jobs.CheckedRunnableWithProgress$1.run(CheckedRunnableWithProgress.java:59)
    at java.lang.Thread.run(Thread.java:745)

Any theories to why this is, and preferably, how do I solve it?

Thanks in advance!

Doesn't work on Jasper Studio version 6.5.1.Final

Hi,

Have been trying to connect to various version of ElasticSearch using TIBCO Jaspersoft Studio 6.5.1.Final and getting error None of the configured nodes are available.

ES Versions tried:
1.7
2.2.1
2.3.0
2.3.5

Have also ensured port 9300 is reachable and able to create/query indexes using plain java (maven projects) on the same TCP port.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.