Re: Taxonomy in Lucene

2008-12-11 Thread Karsten F.
hi glen, possible you will find this thread interesting: http://groups.google.com/group/xtf-user/browse_thread/thread/beb62f5ff9a16a3a/16044d1009511cda was about a taxonomy like in your example. Also take a look to the faceted browsing on date in

Spell check of a large text

2008-12-11 Thread Lucene User no 1981
Hi, the problem is as follows: there is a text, ca. 30kb, it has to be spellchecked automatically, there is no manual intervention, no suggestions needed. All I would like to achieve is a simple check if there are any problems with the spelling or not. It has to be rather fast cause there are

GWT port of Lucene's QueryParser

2008-12-11 Thread Paul Libbrecht
Hello again list, has anyone tried to port or simply run the QueryParser of Lucene to GWT? It would look like a very nice thing to do to provide direct rendering of the query interpretation (it could be made into a whole editor probably, e.g. removing or selecting parts of the query).

Re: GWT port of Lucene's QueryParser

2008-12-11 Thread Mark Miller
Paul Libbrecht wrote: Hello again list, has anyone tried to port or simply run the QueryParser of Lucene to GWT? It would look like a very nice thing to do to provide direct rendering of the query interpretation (it could be made into a whole editor probably, e.g. removing or selecting parts

Re: Spell check of a large text

2008-12-11 Thread Grant Ingersoll
I think I'm missing something here... Spell checked in what sense? Sounds to me like you need dictionary based spell checking during index, not index based spelling during search, right? How about hooking up something like the Jazzy spell checker into a TokenFilter? Then, as the tokens

Re: Looking for a way to customize how StandardAnalyzer handles punctuation

2008-12-11 Thread Greg Shackles
I still need all the normal benefits of the StandardAnalyzer as far as punctuation and everything else goes, with just this one special exception. Since I was on a limited schedule I ended up just doing the method where I escape these cases myself in a way that makes them get tokenized. Certainly

problem on NGram+Highlighter

2008-12-11 Thread Koji Sekiguchi
Hello, I have a problem when using n-gram and highlighter. I thought it had been solved on the ticket: http://issues.apache.org/jira/browse/LUCENE-627 Actually, I found this problem when I was using CJKTokenizer on Solr, though, here is lucene program to reproduce it using

Dynamic Score Boosting by creator

2008-12-11 Thread Dalvi, Rajesh
Hello, I am indexing creator information for each document. When I query with given User, I want documents created by the given user should score higher. How can I do this? Thanks, Rajesh

How to search for -2 in field?

2008-12-11 Thread Darren Govoni
Hi, This might be a dumb question, but I have a simple field like this field: 0 -2 Word that is indexed,tokenized and stored. I've tried various ways in Lucene (using Luke) to search for -2 Word and none of them work, the query is re-written improperly. I escaped the -2 to \-2 Word and it

Re: How to search for -2 in field?

2008-12-11 Thread Robert Young
You could do it with a TermQuery but I'm not quite sure if that's the answer you're looking for. Cheers Rob On Thu, Dec 11, 2008 at 3:59 PM, Darren Govoni [EMAIL PROTECTED] wrote: Hi, This might be a dumb question, but I have a simple field like this field: 0 -2 Word that is

Re: How to search for -2 in field?

2008-12-11 Thread Darren Govoni
I'm hoping to do this with a simple query string, but not sure if its possible. I'll try your suggestion though as a workaround. Thanks!! On Thu, 2008-12-11 at 16:48 +, Robert Young wrote: You could do it with a TermQuery but I'm not quite sure if that's the answer you're looking for.

Re: Taxonomy in Lucene

2008-12-11 Thread John Wang
We are doing lotsa internal changes for performance. Also upgrading the api to support for features. So my suggestion is to wait for 2.0. (should release this this month, at the latest mid jan) We can take this offline if you want to have a deeper discussion on browse engine. Thanks -John On

Re: Dynamic Score Boosting by creator

2008-12-11 Thread prabin meitei
Hi, You can boost an individual query. For example Assuming your query to be a boolean query containing a term for the creator BooleanQuery query = new BooleanQuery(); . (any other part of your query) . TermQuery termQ = new TermQuery(new Term(creator, user)); termQ.setBoost(3.0f); //boost

Re: How to search for -2 in field?

2008-12-11 Thread prabin meitei
Hi, While constructing the query give the query string in quotes. eg: query = queryparser.parse(\-2 word\); Prabin meitei toostep.com On Thu, Dec 11, 2008 at 10:37 PM, Darren Govoni [EMAIL PROTECTED] wrote: I'm hoping to do this with a simple query string, but not sure if its possible. I'll

Re: How to search for -2 in field?

2008-12-11 Thread Darren Govoni
I'm using Luke to find the right combination of quotes,\'s and analyzers. No combination can produce a positive result for -2 String for the field 'type'. (any -number String) type: 0 -2 Word analyzer: query - rewritten = result default field is 'type'. WhitespaceAnalyzer: \-2

Re: How to search for -2 in field?

2008-12-11 Thread prabin meitei
whitespace analyzer will tokenize on white space irrespective of quotes. Use standard analyzer or keyword analyzer. Prabin meitei toostep.com On Thu, Dec 11, 2008 at 11:28 PM, Darren Govoni dar...@ontrenet.com wrote: I'm using Luke to find the right combination of quotes,\'s and analyzers.