Natarajan.T wrote:

Hi,

Thanks for your response.....

For example search keyword is like below...

Language "what is java"

Token 1:  language
Token 2: what is java(like google)


Regards, Natarajan.



Lucene works exaclty as you describe above with a simple correction ...

The analyzer has a list of stopped keywords, and I bet "is" is one of them for your analyzer.
I don't mind right now about this, so I won't dig to find a solution for this problem, but the resolution
should be searched around Analyzer classes.
All the best,


 Sergiu







-----Original Message-----
From: Aad Nales [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 5:19 PM
To: 'Lucene Users List'
Subject: RE: Search PharseQuery


Hi,

Not sure if this is what you need but I created a lastname filter which
in Dutch means potential double last names like:"van der Vaart". In
order to process these I created a finite state machine that queried
these last names. Since I only needed the filter on 'index' time and I
never use it for querieying, this may not be what you are looking for.
It should be simple to index 'what is java' as a single token and to
search for that same token. However, you will need to create a list of
accepted 'tokens'. If this is what you need let me know, I will make the
code available...

cheers,
Aad Nales

-----Original Message-----
From: Honey George [mailto:[EMAIL PROTECTED] Sent: Tuesday, 14 September, 2004 13:39
To: Lucene Users List
Subject: Re: Search PharseQuery



--- "Natarajan.T" <[EMAIL PROTECTED]>
wrote:


Hi All,



How do I implement PharseQuery API?



What exactly you mean by implement? Are you trying to extend the current behavior or only trying find out the usage? Thanks, George



        
        
                
___________________________________________________________ALL-NEW
Yahoo! Messenger - all new features - even more fun!
http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to