apache / camel-website

Apache Camel Website
https://camel.apache.org/
Apache License 2.0
54 stars 165 forks source link

The search is not finding several fields #1209

Open apupier opened 1 month ago

apupier commented 1 month ago

for instance:

Bradley, is giving results for gradle and not the Bradley listed in PLC4X https://camel.apache.org/components/next/plc4x-component.html

firmata is listing things with a formatA but not the firmata from the PLC4X component https://camel.apache.org/components/next/plc4x-component.html

PyTorch is giving no result despite mentioned in djl component https://camel.apache.org/components/next/djl-component.html#_model_zoo

zregvart commented 1 month ago

Search is indexing only canonical pages, currently that is the 4.4.x, so that explains the first two queries not showing any results. For the djl component I can see that 8 records are extracted

8 records for djl
[
  {
    "indexName": "apache_camel",
    "records": [
      {
        "objectID": "fb70018b-cb46-4864-a0e3-4b1239f907fa",
        "content": "The Deep Java Library component is used to infer deep learning models from message exchanges data. This component uses the Deep Java Library as the underlying library.To use the DJL component, Maven users will need to add the following dependency to their pom.xml:",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html",
        "pageRank": 0
      },
      {
        "objectID": "b6456f82-2240-4cd4-b422-58e6523068a7",
        "content": "lazyStartProducer: Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "lazyStartProducer"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_component_option_lazyStartProducer",
        "pageRank": 20
      },
      {
        "objectID": "ad7e94f1-439b-4df3-93fd-d31fdcd33838",
        "content": "autowiredEnabled: Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "autowiredEnabled"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_component_option_autowiredEnabled",
        "pageRank": 20
      },
      {
        "objectID": "b524aa2c-4e3f-4a05-b22e-79c833613ef8",
        "content": "application: Required Application name.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "application"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_endpoint_path_option_application",
        "pageRank": 20
      },
      {
        "objectID": "c999c19b-3e6a-4ea2-944d-29a3e434e4ac",
        "content": "artifactId: Model Artifact.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "artifactId"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_endpoint_query_option_artifactId",
        "pageRank": 20
      },
      {
        "objectID": "d13908a8-383f-4618-9039-f6661e7b9411",
        "content": "model: Model.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "model"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_endpoint_query_option_model",
        "pageRank": 20
      },
      {
        "objectID": "e158aaf8-05c4-4f73-a8e3-245517d5eba1",
        "content": "translator: Translator.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "translator"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_endpoint_query_option_translator",
        "pageRank": 20
      },
      {
        "objectID": "7d811ec9-5337-42fc-829c-a4a07bb7f442",
        "content": "lazyStartProducer: Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
        "keywords": [
          "documentation",
          "component",
          "reference",
          "Deep Java Library"
        ],
        "version": "4.4.x (LTS)",
        "hierarchy": {
          "lvl0": "Camel Components",
          "lvl1": "Components",
          "lvl2": "Deep Java Library",
          "lvl3": "lazyStartProducer"
        },
        "url": "https://camel.apache.org/components/4.4.x/djl-component.html#_endpoint_query_option_lazyStartProducer",
        "pageRank": 20
      }
    ]
  }
]

So there could be some improvements to be made to the crawler code for that page. If someone wants to help with this ping me and I can help guide you to this. My (very) long standing TODO is to extract the crawler code to git and allow folk to modify it there, currently it can only be edited on Algolia.