[opencms-dev] Lucene search on numbers
M Butcher
mbutcher at grcomputing.net
Fri Aug 29 21:07:02 CEST 2003
1. I'm not sure why the search does not work for numbers in the
document. They may get automatically added to the stop-words or
something like that... I don't know. I didn't do anything to
specifically block numbers (at least not intentionally:) I suppose that
if you are using the stopWordAnalyzer (the default analyzer for the
search JSP), it may block numbers -- but that's speculation.
2. Check out the jakarta.apache.org/lucene page (esp. the FAQ). It has
info on using all kinds of filters, including booleans.
Matt
On Fri, 2003-08-29 at 01:29, Abhishek Tiwari wrote:
> Hi All,
>
> This is little off topic
> I have added the lucene search module on opencms for my website.
> 1.The search is working fine for text in the body of the documnet but
> somehow it is not working for the numbers like it is not able to
> search for 2001 which is there in
> the body of the text. Is it something to do with the search filter of
> lucene??
> 2. How can I search with options like "NOT", "OR", "AND".
> For e.g. if i give a query ABC not DEF then search should return
> the pages only with ABC and not the ones having both ABC and DEF in
> the body of the document.
>
> Thanx,
> --
>
>
> Abhishek Tiwari +91 40 23547826 Ext. 102 (Main)
> Sr. Executive +91 40 23541447 (Fax)
> Mensamind
> Hyderabad
> India
> www.mensamind.com
>
> DISCLAIMER
> The information contained in this e-mail is confidential and intended
> for the named recipient(s) only. If you are not an intended recipient
> of this email you must not copy, distribute or take any further action
> in reliance on it. You should delete it and notify the sender
> immediately.
>
>
> _______________________________________________ This mail is send to
> you from the opencms-dev mailing list To change your list options, or
> to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
--
M Butcher <mbutcher at grcomputing.net>
More information about the opencms-dev
mailing list