RE: Searching for keywords .net,c#,...

2013-02-26 Thread Chris Hostetter
: which seems to override incrementToken() ( guess as I don't know java ) : however using lucene.net 3.0.3, I can override Lucene.Net is a completely seperate project from Lucene, with it's own APIs, release cycles, and user community. Your best bet at getting help from people who are familiar

RE: Searching for keywords .net,c#,...

2013-02-25 Thread x10179
com] Sent: Monday, February 25, 2013 6:05 PM To: java-user@lucene.apache.org Subject: RE: Searching for keywords .net,c#,... I did search google on TokenFilter lucene example and found this link http://sujitpal.blogspot.com/2011/07/lucene-token-concatenating-tokenfilte r_30.html which seems to overr

RE: Searching for keywords .net,c#,...

2013-02-25 Thread x10179
new StopFilter(true, result, StopAnalyzer.ENGLISH_STOP_WORDS_SET); return result; } } -Original Message- From: Naresh [mailto:nnar...@gmail.com] Sent: Monday, February 25, 2013 1:18 AM To: java-user@lucene.apache.org Subject: Re: Searching for keywords .net,c#,.

Re: Searching for keywords .net,c#,...

2013-02-24 Thread Naresh
Hi, You can write your own token-filter to split on some characters (comma, | etc.,) and then build an analyzer using the WhiteSpaceTokenizer, LowerCaseFilter and your CustomTokenFilter. See http://stackoverflow.com/questions/9015348/lucene-custom-analyzer/9015658#9015658 On Mon, Feb 25, 2013 at

Searching for keywords .net,c#,...

2013-02-24 Thread kumar
Hello all I am a lucene novice and trying to setup lucene in a .net app using lucene.net for searching through documents So far it has been fantastic, however given that the users expectations are for "google"-like search, running into issues searching for .net and c# Initially tried the Stand

Re: searching for keywords

2006-08-21 Thread Erick Erickson
I'm a twit. How about PhraseQuery? From the Javadoc A Query that matches documents containing a particular sequence of terms. A PhraseQuery is built by QueryParser for input like "new york". You can also add phrase queries to a BooleanQuery. Best Erick On 8/21/06, Rupinder Singh Mazara <[

Re: searching for keywords

2006-08-21 Thread Rupinder Singh Mazara
nope that does not really help i end up with the same result query entered:"red hat" ( without the quotes ) results in FULLTEXT:red FULLTEXT:hat AND KEYWORD:red KEYWORD:hat Erick Erickson wrote: I think you can use this form *QueryParser *(String

Re: searching for keywords

2006-08-21 Thread Erick Erickson
I think you can use this form *QueryParser *(String f, Analyzer a) where the analyzer is a PerFieldAnalyzerWrapper. Then use the same analyzer you used during the indexing process. This is Lucene 2.0... Best Erick On 8/21/06, Rupin

searching for keywords

2006-08-21 Thread Rupinder Singh Mazara
hi all I need to be able to index and search for documents based on keywords that are attached to a document. Some of the keywords have white spaces in them like "red hat" or "place of worship" , I need to able to search for FULLTEXT:"red hat" AND KEYWORD:"red hat" For indexing pur