Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Search is not working for me.

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have JForum working, but when I search I always get zero results. I have even tried entering just one word, which I know is in hundreds of posts, and yet I still get zero results.

Is there something that I am missing? Do I need to do something special?

thanks
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Lucene was my first choice. But is quite hard to integrate Lucene with Databases. Well, the basic code is not that hard, but to make the index up to date and deal with performance when indexing it with data from the database.

In the future I will try again to integrate lucene and jforum. Until threre, I'll try to fix the current search

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which JForum version are you using?

Rafael
ps: the search is kind bogus yet, but it should work partially, at least.
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using RC3.

Have you considered using Lucene? I am not sure how difficult that would be to integrate into JForum, but it is an awesome search engine.
[originally posted on jforum.net by time]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The posts you are trying to search, how they get into the database tables? was using your mailing-list convertion tool?

JForum keeps an index of the posts in some tables, instead of doing dynamic searches on every post from jforum_posts table.

Please read this topic:

https://coderanch.com/t/574427

I have made an indexer tool. Try running it and then test the search, please.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
uuhh.. nice, Tiago

I'll try to take a closer look ( soon hhehe )

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Yes, Lucene was my first choice. But is quite hard to integrate Lucene with Databases. Well, the basic code is not that hard, but to make the index up to date and deal with performance when indexing it with data from the database.

In the future I will try again to integrate lucene and jforum. Until threre, I'll try to fix the current search

Rafael



Hi, think that JForum could benefit from my new project, Luigi. It could be healthy if another project is using it, and it could give jForum a lot more searching power. But Luigi is in very early stages, so I think it should wait a while... :roll:

[]s
[originally posted on jforum.net by dukejeffrie]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic