You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/04/25 06:20:13 UTC

[camel] branch main updated (7303e31 -> 2a7c617)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 7303e31  (chores): fix incorrect assertion order in tests (#5463)
     new cbc9061  Added notes about docs and query in Camel-Solr
     new 2a7c617  Regen

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/camel/catalog/docs/solr-component.adoc  | 24 ++++------------------
 .../camel-solr/src/main/docs/solr-component.adoc   | 24 ++++------------------
 .../modules/ROOT/pages/solr-component.adoc         | 24 ++++------------------
 3 files changed, 12 insertions(+), 60 deletions(-)

[camel] 02/02: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2a7c6177ad635a3a1300921b36333b4cdf19ba4e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Apr 25 08:19:29 2021 +0200

    Regen
---
 .../apache/camel/catalog/docs/solr-component.adoc  | 24 ++++------------------
 .../modules/ROOT/pages/solr-component.adoc         | 24 ++++------------------
 2 files changed, 8 insertions(+), 40 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/solr-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/solr-component.adoc
index 29ced9e..ca81559 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/solr-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/solr-component.adoc
@@ -206,27 +206,11 @@ delete routes and then call the commit route.
 
 == Querying Solr
 
-Currently, this component doesn't support querying data natively (may be
-added later). For now, you can query Solr using xref:http-component.adoc[HTTP] as
-follows:
+The components provides a producer operation to query Solr.
 
-[source,java]
---------------------------------------------------------------------------------
-//define the route to perform a basic query
-from("direct:query")
-    .recipientList(simple("http://localhost:8983/solr/select/?q=${body}"))
-    .convertBodyTo(String.class);
-...
-//query for an id of '1234' (url encoded)
-String responseXml = (String) template.requestBody("direct:query", "id%3A1234");
---------------------------------------------------------------------------------
-
-For more information, see these resources...
-
-http://lucene.apache.org/solr/tutorial.html#Querying+Data[Solr Query
-Tutorial]
-
-https://lucene.apache.org/solr/guide/8_4/the-standard-query-parser.html[Solr Query Syntax]
+For more information:
+
+https://solr.apache.org/guide/8_8/the-standard-query-parser.html[Solr Query Syntax]
 
 
 include::{page-component-version}@camel-spring-boot::page$solr-starter.adoc[]
diff --git a/docs/components/modules/ROOT/pages/solr-component.adoc b/docs/components/modules/ROOT/pages/solr-component.adoc
index 860344a..1661ffc 100644
--- a/docs/components/modules/ROOT/pages/solr-component.adoc
+++ b/docs/components/modules/ROOT/pages/solr-component.adoc
@@ -208,27 +208,11 @@ delete routes and then call the commit route.
 
 == Querying Solr
 
-Currently, this component doesn't support querying data natively (may be
-added later). For now, you can query Solr using xref:http-component.adoc[HTTP] as
-follows:
+The components provides a producer operation to query Solr.
 
-[source,java]
---------------------------------------------------------------------------------
-//define the route to perform a basic query
-from("direct:query")
-    .recipientList(simple("http://localhost:8983/solr/select/?q=${body}"))
-    .convertBodyTo(String.class);
-...
-//query for an id of '1234' (url encoded)
-String responseXml = (String) template.requestBody("direct:query", "id%3A1234");
---------------------------------------------------------------------------------
-
-For more information, see these resources...
-
-http://lucene.apache.org/solr/tutorial.html#Querying+Data[Solr Query
-Tutorial]
-
-https://lucene.apache.org/solr/guide/8_4/the-standard-query-parser.html[Solr Query Syntax]
+For more information:
+
+https://solr.apache.org/guide/8_8/the-standard-query-parser.html[Solr Query Syntax]
 
 
 include::{page-component-version}@camel-spring-boot::page$solr-starter.adoc[]

[camel] 01/02: Added notes about docs and query in Camel-Solr

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cbc9061559d2aa4bd9845cd7f25fa209e4d5e58b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Apr 25 08:11:36 2021 +0200

    Added notes about docs and query in Camel-Solr
---
 .../camel-solr/src/main/docs/solr-component.adoc   | 24 ++++------------------
 1 file changed, 4 insertions(+), 20 deletions(-)

diff --git a/components/camel-solr/src/main/docs/solr-component.adoc b/components/camel-solr/src/main/docs/solr-component.adoc
index 29ced9e..ca81559 100644
--- a/components/camel-solr/src/main/docs/solr-component.adoc
+++ b/components/camel-solr/src/main/docs/solr-component.adoc
@@ -206,27 +206,11 @@ delete routes and then call the commit route.
 
 == Querying Solr
 
-Currently, this component doesn't support querying data natively (may be
-added later). For now, you can query Solr using xref:http-component.adoc[HTTP] as
-follows:
+The components provides a producer operation to query Solr.
 
-[source,java]
---------------------------------------------------------------------------------
-//define the route to perform a basic query
-from("direct:query")
-    .recipientList(simple("http://localhost:8983/solr/select/?q=${body}"))
-    .convertBodyTo(String.class);
-...
-//query for an id of '1234' (url encoded)
-String responseXml = (String) template.requestBody("direct:query", "id%3A1234");
---------------------------------------------------------------------------------
-
-For more information, see these resources...
-
-http://lucene.apache.org/solr/tutorial.html#Querying+Data[Solr Query
-Tutorial]
-
-https://lucene.apache.org/solr/guide/8_4/the-standard-query-parser.html[Solr Query Syntax]
+For more information:
+
+https://solr.apache.org/guide/8_8/the-standard-query-parser.html[Solr Query Syntax]
 
 
 include::{page-component-version}@camel-spring-boot::page$solr-starter.adoc[]