I added a simple search block. (more features will come later)
It is in the nukes 1 HEAD. (You will need to update the thirdparty directory to get 
the latest lucene.jar)

It looks by default into the main text of a forum message, a news or an HTML page (not 
into anything else). It also use the OR operator by default.
It means:

"foo bar" will give you back all news, forum posts and HTML pages with either 'foo' or 
'bar' in their main text (not in title neither news summary)

"foo AND bar" will give you back all news, forum posts and HTML pages with 'foo' and 
'bar' in their main text (not in title neither news summary)

There are other fields that you can look on but it is not 'advertised'

You can find all news, posts, HTML pages submitted by bob by typing:
IDX_AUTHOR:bob

You can also mixed all those things above:

"IDX_AUTHOR:bob AND foo" will you gove you back everything from bob with foo in the 
text

The fields searchable are:
IDX_ID
IDX_AUTHOR
IDX_TITLE
IDX_TEXT
IDX_CREATIONDATE

And by typing this post i realize that i forgot to put
IDX_MODULE as searchable (forum, bb or news) so it is not searchable as of today.

The HTML module is not fully indexed, the only way to index it is by using the index 
module as an admin. If you submit/edit an HTML it won't be indexed as of today.

If you already have a nuke running recreate all the index (news/bb/html) by using the 
index module (click on delete then create for every module)

Comments will be more than welcome on things you would like to see implemented. I plan 
to make a user friendly interface to create more complex queries.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849024#3849024

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849024


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to