Project2-1: Configure Lucene to create a WEB query system [Ubuntu10.10]

Source: Internet
Author: User
This article describes how to create a web interface query system. Environment: Ubuntu10.10Tomcat6. x1. first, modify the build. xml file, and modify the diff: xxx @ ubuntu :~ /Workspace/lucene $ diffbuild. xmlbuild. old. xml45, 50d44 & lt; pathid = "wbia. classpa

This article describes how to create a web interface query system.

Environment:
Ubuntu 10.10
Tomcat 6.x

1. First, modify the build. xml file and the diff before and after modification:

Xxx @ ubuntu :~ /Workspace/lucene $ diff build. xml build. old. xml
45, 50d44
<
<
<
<
<
<
148,159 d141
<
<
<
<
<
<
<
<
<
<
<
<
187,201 d168
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
213,220 d179
<
<
<
<
<
<
<
<

2. copy src/jsp and name it src/jsp. wbia, modify src/jsp. wbia/results. jsp, [Linux community www.linuxidc.com] is mainly used to add page code, IKQueryParser and the total number of search results.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.