Home Database Mysql Tutorial Solr索引Oracle数据库的基本配置

Solr索引Oracle数据库的基本配置

Jun 07, 2016 pm 05:25 PM
sol solr

1:tomcat_home/solr/config/solrconfig.xml中加入如下配置 lt;requestHandler name=/dataimport class=org.apache.solr.han

Linux公社

首页 → 数据库技术

背景:

阅读新闻

Solr索引Oracle数据库的基本配置

[日期:2013-01-12] 来源:Linux社区  作者:Linux [字体:]

1:tomcat_home/solr/config/solrconfig.xml中加入如下配置



data-config.xml

 

 

2:在tomcat_home/solr/config/中创建data-config.xml文件(与solrconfig.xml在同一目录),加入如下内容









 

 

 

3:在tomcat_home/solr/conf/schema.xml文件加入如下字段


 

 

4:将oracle jdbc驱动放到tomcat_home/webapps/solr/WEB_INF/lib中

 


5:将solr_home/dist/文件夹中的apache-solr-dataimporthandler-3.6.1.jar、apache-solr-dataimporthandler-extras-3.6.1.jar拷贝到tomcat_home/solr/lib/文件夹中

 

 

6:启动tomcat,,访问:8081/solr/dataimport?command=full-import将数据全部导入solr服务器进行索引

‍:8081/solr/dataimport?command=delta-import增量导入数据

:8081/solr/dataimport?command=status可以查看运行状态

当修改data-config.xml文件配置时:8081/solr/dataimport?command=reload-config可以进行重新加载配置文件

终止运行:8080/solr/dataimport?command=abort

linux

  • 0
  • Oracle数据导入导出imp/exp命令 10g以上expdp/impdp命令

    Oracle 创建用户需知

    相关资讯       Solr  Solr配置  Solr索引  Solr数据库 

    图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2014 Linux公社 All rights reserved 浙ICP备06018118号

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    AI Hentai Generator

    AI Hentai Generator

    Generate AI Hentai for free.

    Hot Article

    R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
    2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
    Hello Kitty Island Adventure: How To Get Giant Seeds
    1 months ago By 尊渡假赌尊渡假赌尊渡假赌
    Two Point Museum: All Exhibits And Where To Find Them
    1 months ago By 尊渡假赌尊渡假赌尊渡假赌

    Hot Tools

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    Lunex Network (LNEX) Packs a Punch With Its Unique Value Offering and Range of Perks for Traders Lunex Network (LNEX) Packs a Punch With Its Unique Value Offering and Range of Perks for Traders Oct 21, 2024 pm 03:30 PM

    With 2025 fast approaching, crypto enthusiasts are looking to fine-tune their portfolios for next year. So what coins should every portfolio contain?

    Using Solr for full-text search in Java API development Using Solr for full-text search in Java API development Jun 18, 2023 am 10:41 AM

    With the development of the Internet and the explosive growth of information, the amount of information we can now access and obtain is very large. Whether it is information obtained from web pages, documents, or daily life, it requires an efficient way to process and manage it. Full-text search is a very efficient and commonly used method. It can locate and extract the information we need through keywords or phrases, and Solr is a tool that is very suitable for full-text search development. This article will introduce the basic concepts of Solr and how to use it in Java API development.

    Full text search using Solr in PHP Full text search using Solr in PHP Jun 20, 2023 am 09:12 AM

    Solr is a Lucene-based search engine that can be used to implement full-text search. Using Solr in PHP for full-text search can help us quickly query relevant data through keywords and improve the accuracy and reliability of search results. This article will introduce how to use Solr in PHP for full-text search. 1. Installation and configuration of Solr First, we need to install Solr and the Solr extension of PHP on the server. For Solr installation steps, please refer to Solr’s official documentation.

    What coin will be the next to speculate on ETF? Why 63.6% of people choose SOL What coin will be the next to speculate on ETF? Why 63.6% of people choose SOL Jun 11, 2024 pm 05:02 PM

    What token will be the next to speculate on ETFs? Why do so many people choose SOL? SOL launched a poll last Friday "After $BTC$ETH, which token do you think will be the next one to speculate on ETFs?" As a result, 63.6% of people chose SOL. Today, the editor of this website will share with you what token will be the next to speculate on ETF? Why do so many people choose SOL? Let’s take a look below! After the passage of ETHETF, the market is indeed very vocal about SOL. Geoffrey Kendrick, director of foreign exchange and digital asset research at Standard Chartered Bank: 2025 may usher in the approval of cryptocurrency ETFs such as SOL and XRP. Anth, founder and managing partner of Tianqiao Capital

    Have you applied for SOL's ETF? Learn about the application process of SOLANA ETF in one article Have you applied for SOL's ETF? Learn about the application process of SOLANA ETF in one article Mar 03, 2025 pm 09:00 PM

    Solana (SOL) ETF application: In-depth analysis and future prospects In the near future, there is a surge in crypto ETF applications, which is closely related to the SEC's increasingly friendly attitude towards cryptocurrencies and its clear approval rules. As a mainstream cryptocurrency, Solana (SOL)'s ETF application progress has attracted much attention. This article will conduct in-depth discussion on the current status, impact and future prospects of SOLETF applications. Current status of SOLETF application. Several institutions have submitted SOL spot ETF applications, among which Grayscale is particularly eye-catching. It plans to convert Solana Trust Fund into spot ETF, which will further expand its influence in the digital asset market. If approved, the ETF will be listed on the New York Stock Exchange under the code

    KIP Protocol: The raised SOL will support Argentina business interpretation KIP Protocol: The raised SOL will support Argentina business interpretation Mar 03, 2025 pm 11:21 PM

    Argentine President Javier Milei briefly posted a tweet to promote the token $LIBRA (VivalaLibertad project token), which triggered a brief panic purchase in the market. The price of $LIBRA soared in a short period of time, and its market value once exceeded US$4.62 billion, ranking among the top 33 cryptocurrencies. However, Milei quickly deleted the tweet and stated that it had nothing to do with the project, and the KIPProtocol team immediately issued a statement denied that it had any connection with Milei. This move caused the $LIBRA price to plummet by 50% in 15 minutes, and the final drop was close to 95%, causing investors to question whether it was a "running scam". Solayer founder suffers heavy losses Solana

    Behind the SOL price plunge: Encryption crisis under the interweaving of multiple difficulties Behind the SOL price plunge: Encryption crisis under the interweaving of multiple difficulties Mar 03, 2025 pm 11:33 PM

    Solana (SOL) price plummeted: from $295 to $181, the crisis under the cold winter of cryptocurrency In early 2025, Solana (SOL) briefly hit a high of $295, but just one month later, it plummeted to $181 on February 17, a drop of nearly 40%. This is not only a fluctuation in numbers, but also indicates that SOL is facing severe challenges in the future development. Why did SOL, once regarded as a strong competitor to Ethereum, face such a dilemma? The aftermath of FTX bankruptcy and the sharp drop in market confidence The impact of FTX bankruptcy liquidation cannot be ignored. On March 1, the 11.2 million SOLs auctioned by FTX are about to be unlocked, worth up to US$2.06 billion, accounting for 2.29% of the total SOL circulation. Previously, many institutions purchased at low prices

    In this article, learn about the US DTCC listed in the second SOL futures ETF! Spot ETF is not far away? In this article, learn about the US DTCC listed in the second SOL futures ETF! Spot ETF is not far away? Mar 04, 2025 am 11:51 AM

    The US DTCC recently included two Solana (SOL) futures ETFs on the maintenance list, which triggered heated discussions in the market about the upcoming approval of SOL spot ETFs. Information on the official website of DTCC shows that VolatilitySharesSolanaETF (SOLZ) and VolatilityShares2xSolanaETF (SOLT) issued by VolatilityShares have been on the maintenance list. This usually indicates that ETFs are about to be approved for listing, or at least have received positive signals, Bloomberg senior ETF analyst Eric Balchunas pointed out. VolatilityShares applied for three SOL futures E last year

    See all articles