• 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

forum search words are not updated afer a posting is edited

 
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 think there is a problem with JForum search and updated postings: If for example I remove one word from a posting, the posting still gets matched when I search for the removed word, because it is still in JFORUM_SEARCHWORDS.

If on the other hand I add a new word to posting, the posting will not be matched, because the new word will not be added to JFORUM_SEARCH_WORDS
[originally posted on jforum.net by TestWilli]
 
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
Please see http://www.jforum.net/posts/list/0/1341.page#5751

2.1.5 will fix thsi bug

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
edit file

GenericPostDAO.java

/**
* @see net.jforum.dao.PostDAO#update(net.jforum.Post)
*/
public void update(Post post) throws Exception
{
this.updatePostsTable(post);
this.updatePostsTextTable(post);

// Search
SearchFacade.index(post);
}


add the Search lien in the update

I sent this in and was told it will be updated in CVS

hasn't been updated yet

with that line editted posted will be indexed and thus searchable

[originally posted on jforum.net by mqjoe1]
 
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
Ok, now I updated the cvs:

https://jforum.dev.java.net/source/browse/jforum/src/net/jforum/dao/generic/GenericPostDAO.java?r1=1.5&r2=1.6

Thanks mqjoe1

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
Thanks

I have it from CVS now

[originally posted on jforum.net by mqjoe1]
 
reply
    Bookmark Topic Watch Topic
  • New Topic