3 Replies - 1138 Views - Last Post: 20 March 2012 - 08:46 PM

#1 Andreika_86  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 20-November 11

Search for web pages

Posted 13 March 2012 - 01:44 PM

Hello everyone! I am developing a web application, and I have a news section. I want to include a search function - so user can search for different news, the problem is - I have not done anythinng like it before and dont know where to start... Can anyone make a suggestion of what approach is the best(easiest)? Or how can it be done? Thanks a lot!
Is This A Good Question/Topic? 0
  • +

Replies To: Search for web pages

#2 revolutionx  Icon User is offline

  • D.I.C Head

Reputation: 60
  • View blog
  • Posts: 229
  • Joined: 23-July 09

Re: Search for web pages

Posted 15 March 2012 - 05:56 AM

What language are you using? You would need to query the database - in particular the news table.
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is online

  • Saucy!
  • member icon

Reputation: 5723
  • View blog
  • Posts: 22,637
  • Joined: 23-August 08

Re: Search for web pages

Posted 15 March 2012 - 09:00 AM

Or use a third-party search engine/indexer like Lucene/Solr, Sphinx, or elasticsearch.
Was This Post Helpful? 0
  • +
  • -

#4 Andreika_86  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 20-November 11

Re: Search for web pages

Posted 20 March 2012 - 08:46 PM

Thanks for reply! I am using Apache Tomcat as a server, I want to be able to search for pages in my application folder - I know there are search engines available, but the thing is - i have to search on localhost. There is no database for news - they are separate pages.

View Postrevolutionx, on 15 March 2012 - 05:56 AM, said:

What language are you using? You would need to query the database - in particular the news table.

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1