facebook Twitter RSS Feed YouTube StumbleUpon

Home | Forum | Chat | Tours | Articles | Pictures | News | Tools | History | Tourism | Search

 
 


Go Back   BanglaCricket Forum > Miscellaneous > Support

Support Help & Support

Reply
 
Thread Tools Display Modes
  #1  
Old May 17, 2006, 03:20 PM
AsifTheManRahman's Avatar
AsifTheManRahman AsifTheManRahman is offline
Super Moderator
BC Editorial Team
 
Join Date: February 12, 2004
Location: Canada
Favorite Player: Ice Man, Chatter Box
Posts: 27,678
Default Java: Help with apache-lucene

I need to know how the following analyzers work:

Whitespace
Keyword

I am looking for an analyzer that will result in a hit if the string that is queried appears in the document being searched. For example, if I am looking for "A_B_C", then I want the analyzer to detect all of the following patterns: XXXA_B_CXXX, A_B_C, A_B_CXXX, XXXA_B_C, where XXX can be any character, string, etc.

I am using the Whitespace analyzer right now and it looks like it only detects A_B_C when it appears in the document as a single string, i.e. wrapped around by white spaces (which is what the Whitespace analyzer is supposed to do, if I'm not mistaken). However, I have tried using the Keyword Analyzer as well, but in vain. I would like to know how exactly this analyzer would tokenize, say, the patterns mentioned above.

Is there any other analyzer anywhere that I could use?

Thanks in advance.
__________________
Screw the IPL, I'm going to the MLC!
Reply With Quote

  #2  
Old May 17, 2006, 03:35 PM
AsifTheManRahman's Avatar
AsifTheManRahman AsifTheManRahman is offline
Super Moderator
BC Editorial Team
 
Join Date: February 12, 2004
Location: Canada
Favorite Player: Ice Man, Chatter Box
Posts: 27,678

oh and the Simple and Standard analyzers are no good either because they strip the underscores off the keys
__________________
Screw the IPL, I'm going to the MLC!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -5. The time now is 06:18 AM.



Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
BanglaCricket.com
 

About Us | Contact Us | Privacy Policy | Partner Sites | Useful Links | Banners |

© BanglaCricket