Hướng dẫn cài đặt apache solr 5.0.0 trên ưindowa

So, I was able to get solr running.

If I run: .\solr-8.3.0\bin>solr status I get:

Found Solr process 114580 running on port 8983
{
  "solr_home":".\\exe\\solr-8.3.0\\server\\solr",
  "version":"8.3.0 2aa586909b911e66e1d8863aa89f173d69f86cd2 - ishan - 2019-10-25 23:15:22",
  "startTime":"2019-11-06T20:45:00.322Z",
  "uptime":"0 days, 1 hours, 8 minutes, 37 seconds",
  "memory":"229.4 MB [%44.8] of 512 MB"}

When I try to make my first core:

solr-8.3.0\bin> solr create -c testCore

I get

The system cannot find the batch label specified - parse_create_args

It seems my java is working correctly:

solr-8.3.0\example\exampledocs>java -jar post.jar -h
SimplePostTool version 5.0.0
Usage: java [SystemProperties] -jar post.jar [-h|-] [ [...]]
Supported System Properties and their defaults:
  -Dc=
  -Durl= [overrides -Dc option if specified]
  -Ddata=files|web|args|stdin [default=files]
  -Dtype= [default=application/xml]
  -Dhost= [default: localhost]
  -Dport= [default: 8983]
  -Dbasicauth= [sets Basic Authentication credentials]
  -Dauto=yes|no [default=no]
  -Drecursive=yes|no| [default=0]
  -Ddelay= [default=0 for files, 10 for web]
  -Dfiletypes=[,,...] [default=xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log]
  -Dparams="=[&=...]" [values must be URL-encoded]
  -Dcommit=yes|no [default=yes]
  -Doptimize=yes|no [default=no]
  -Dout=yes|no [default=no]
This is a simple command line tool for POSTing raw data to a Solr port.
NOTE: Specifying the url/core/collection name is mandatory.
Data can be read from files specified as commandline args,
URLs specified as args, as raw commandline arg strings or via STDIN.
Examples:
  java -Dc=gettingstarted -jar post.jar *.xml
  java -Ddata=args -Dc=gettingstarted -jar post.jar '42'
  java -Ddata=stdin -Dc=gettingstarted -jar post.jar < hd.xml
  java -Ddata=web -Dc=gettingstarted -jar post.jar //example.com/
  java -Dtype=text/csv -Dc=gettingstarted -jar post.jar *.csv
  java -Dtype=application/json -Dc=gettingstarted -jar post.jar *.json
  java -Durl=//localhost:8983/solr/techproducts/update/extract -Dparams=literal.id=pdf1 -jar post.jar solr-word.pdf
  java -Dauto -Dc=gettingstarted -jar post.jar *
  java -Dauto -Dc=gettingstarted -Drecursive -jar post.jar afolder
  java -Dauto -Dc=gettingstarted -Dfiletypes=ppt,html -jar post.jar afolder
The options controlled by System Properties include the Solr
URL to POST to, the Content-Type of the data, whether a commit
or optimize should be executed, and whether the response should
be written to STDOUT. If auto=yes the tool will try to set type
automatically from file name. When posting rich documents the
file name will be propagated as "resource.name" and also used
as "literal.id". You may override these or any other request parameter
through the -Dparams property. To do a commit only, use "-" as argument.
The web mode is a simple crawler following links within domain, default delay=10s.

Bitnami Apache Solr Stack là một dự án phần mềm đa nền tảng được phân phối tự do, đơn giản hóa việc cài đặt và lưu trữ ứng dụng Apache Solr, cũng như tất cả các phụ thuộc thời gian chạy của nó, trên máy tính để bàn và máy tính xách tay được cung cấp bởi bản phân phối GNU / Linux hoặc hệ điều hành Microsoft Windows và Mac OS X.

Apache Solr là gì?

Apache Solr là một máy chủ tìm kiếm mã nguồn mở, độc lập với nền tảng, miễn phí và hiệu suất cao dựa trên dự án Apache Lucene, sử dụng các API JSON và XML / HTTP. Điểm nổi bật bao gồm tích hợp cơ sở dữ liệu, tìm kiếm không gian địa lý, tìm kiếm toàn văn bản, phân cụm động, tìm kiếm mặt, đánh dấu nhấn và xử lý tài liệu phong phú.

Cài đặt Bitnami Apache Solr Stack

Sản phẩm Bithri Apache Solr Stack có thể được triển khai bằng cách sử dụng trình cài đặt gốc, thiết bị ảo, vùng chứa Docker hoặc ảnh trên đám mây. Trình cài đặt gốc được xây dựng bằng cách sử dụng công cụ cài đặt đa nền tảng của BitRock và hỗ trợ cả kiến ​​trúc 32 bit và 64 bit.

Để cài đặt ứng dụng Apache Solr trên máy tính cá nhân của bạn, trước tiên bạn sẽ phải tải xuống tệp nhị phân tương ứng với kiến ​​trúc phần cứng của máy tính, chạy nó và làm theo hướng dẫn được hiển thị trên màn hình.

Lưu trữ Apache Solr trên đám mây

Ngoài việc cài đặt Apache Solr trên máy tính cá nhân của bạn, bạn cũng có thể lưu trữ nó trên đám mây, nhờ vào hình ảnh đám mây được tạo sẵn của Bitnami cho các dịch vụ lưu trữ đám mây của Amazon EC2 và Windows Azure.

Ảo hóa Apache Solr trên VirtualBox và VMware

Người dùng cũng có thể ảo hóa ứng dụng Apache Solr trên Oracle VirtualBox và VMware ESX, phần mềm ảo hóa ESXi, vì Bitnami cung cấp một thiết bị ảo dựa trên bản phát hành ổn định mới nhất của bản phân phối Ubuntu Linux.

Vùng chứa Bitnami Apache Solr Docker

Trong khi Bitnami không cung cấp cho người dùng các mô-đun LAMP, WAMP và MAMP cho ứng dụng Apache Solr, nó sẽ cung cấp một vùng chứa Docker giúp bạn ảo hóa Apache Solr trên các thùng chứa Linux.

Chủ Đề