Re: Re-indexing a particular field only without re-indexing the entire enclosing document in the index

2012-04-24 Thread KARTHIK SHIVAKUMAR
Hi Simple Techniques is to use "Update Index" for the dynamic data colum rather then re-indexing the whole document. with regards karthik On Mon, Apr 23, 2012 at 9:01 PM, Jong Kim wrote: > Hi, > > I'm sure that this is very common use case that probably hundreds of people > have asked t

Re: searching minus digit

2012-04-24 Thread Erick Erickson
Does any part of your analysis chain remove the -? It's a common thing to see happen, there are often cases where the search experience is better when hyphens are removed, and some tokenizers do this automatically. Best Erick On Tue, Apr 24, 2012 at 8:04 AM, S Eslamian wrote: > Hi  :) > I don't

Re: searching minus digit

2012-04-24 Thread S Eslamian
Hi :) I don't why, but searching "\\-1234" ignores negative point and search for 1234 ! On Tue, Apr 24, 2012 at 4:24 PM, G.Long wrote: > Hi :) > > Did you try with "\\-1234" ? > > Regards > > Le 24/04/2012 13:40, S Eslamian a écrit : > > Thank you but when I search this : Query termQuery = new

Re: searching minus digit

2012-04-24 Thread G.Long
Hi :) Did you try with "\\-1234" ? Regards Le 24/04/2012 13:40, S Eslamian a écrit : Thank you but when I search this : Query termQuery = new TermQuery ("field","\-1234"); I get this exception : Invalid escape sequence (valid one are \b \t \n \f \r \" \' \\) Am I making mistake in creating my

Re: searching minus digit

2012-04-24 Thread S Eslamian
Thank you but when I search this : Query termQuery = new TermQuery ("field","\-1234"); I get this exception : Invalid escape sequence (valid one are \b \t \n \f \r \" \' \\) Am I making mistake in creating my query? On Tue, Apr 24, 2012 at 3:52 PM, Erick Erickson wrote: > the - is part of the qu

Re: searching minus digit

2012-04-24 Thread Erick Erickson
the - is part of the query syntax, you must escape it. See: http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/queryparsersyntax.html Best Erick On Tue, Apr 24, 2012 at 5:44 AM, S Eslamian wrote: > How can I search a minus digit like -123 in lucene? > When I search this,lucene excl

Re: PhoneticFilterFactory 's inject parameter

2012-04-24 Thread Elmer van Chastelet
Little correction: Looking further at the explanation of results, I saw that the term 'compete' in the parsed query is totally absent, and only the phonetic encoding seems affect the ranking... should be: Looking further at the explanation of results, I saw that _the term 'compete' is totall