Question about Payloads in Lucene 4.5

2014-03-21 Thread Rohit Banga
ey will impact performance? I am using Lucene 4.5. Thanks Rohit Banga http://iamrohitbanga.com/

Re: Question about Payloads in Lucene 4.5

2014-03-21 Thread Rohit Banga
ifies.html), but how about managing two data sources Lucene index and HashMap with SearcherManager? Is there a way to achieve this using a custom SearcherFactory? Thanks Rohit Banga http://iamrohitbanga.com/ On Fri, Mar 21, 2014 at 3:26 PM, Michael McCandless < luc...@mikemccandless.com&g

Re: Question about Payloads in Lucene 4.5

2014-03-21 Thread Rohit Banga
nice if you could help me with the other two questions though. Thanks Rohit Banga http://iamrohitbanga.com/ On Fri, Mar 21, 2014 at 7:25 PM, Rohit Banga wrote: > ​Thanks Michael for your response. > > Few questions: > > 1. Can I expect better performance when retr

Re: Question about Payloads in Lucene 4.5

2014-03-22 Thread Rohit Banga
rrect. Thanks Rohit On Mar 22, 2014 1:29 AM, "Michael McCandless" wrote: > On Fri, Mar 21, 2014 at 10:25 PM, Rohit Banga > wrote: > > Thanks Michael for your response. > > You're welcome! > > > Few questions: > > > > 1. Can I expect better per

Re: Question about Payloads in Lucene 4.5

2014-03-27 Thread Rohit Banga
Awesome works well for me! Thanks Rohit Banga http://iamrohitbanga.com/ On Sun, Mar 23, 2014 at 10:06 PM, Manuel Le Normand < manuel.lenorm...@gmail.com> wrote: > Hello Rohit, > We had a similar query time bottleneck when attempting to map lucene's > internal id's to

hit highlighting in lucene

2010-02-06 Thread Rohit Banga
ind function of the String class as is to get the position of the match. Thanks in advance -- Rohit Banga

Re: hit highlighting in lucene

2010-02-07 Thread Rohit Banga
ighter > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Rohit Banga [mailto:iamrohitba...@gmail.com] > > Sent: Saturday, February 06, 2010 2:27 PM >

Re: hit highlighting in lucene

2010-02-07 Thread Rohit Banga
function. luceneTest.highLightWords("some unimportant text here Mumbhai some unimportant text there~"); fragment is null. On Sun, Feb 7, 2010 at 4:22 PM, Simon Willnauer < simon.willna...@googlemail.com> wrote: > Rohit, > what kind of problems are you facing with

Re: hit highlighting in lucene

2010-02-07 Thread Rohit Banga
lna...@googlemail.com> wrote: > try > Query tq = new FuzzyQuery(new Term("name","mumbai")); > instead of > TermQuery tq = new TermQuery(new Term("name","mumbai")); > > simon > > On Sun, Feb 7, 2010 at 11:58 AM, Rohit Bang

Lucene fields not analyzed

2010-02-08 Thread Rohit Banga
QueryParser(Version.LUCENE_CURRENT, "name", analyzer); Query query; query = parser.parse(text + "~0.5"); how to make it work? Rohit Banga

Re: Lucene fields not analyzed

2010-02-09 Thread Rohit Banga
among other things in the unstructured sentence. so while adding names to the index, i used keyword analyzer and changed the name to be added to the index to "Mr.\\ Kumar" but still couldn't get it to work. Rohit Banga On Tue, Feb 9, 2010 at 1:06 PM, Mark Harwood wrote: &g

Re: Lucene fields not analyzed

2010-02-09 Thread Rohit Banga
a hit highlighter i get Mr. Arun Kumar what i want is Mr. Arun Kumar even when there are spelling mistakes. Rohit Banga On Tue, Feb 9, 2010 at 1:57 PM, Uwe Schindler wrote: > If you don't get it working that way, then you have to ask you the > question: Why do you want it indexed

Re: Lucene fields not analyzed

2010-02-09 Thread Rohit Banga
moreover, search for Mr. Arun Kumar also matches other names because Mr. matches. i am ready to use Mr. as a stop word in an analyzer. Rohit Banga On Tue, Feb 9, 2010 at 2:42 PM, Rohit Banga wrote: > i'll try using Luke. > > how i want to use Lucene? > > there is a sente

read more tokens during analysis

2010-02-10 Thread Rohit Banga
setPositionIncrements method for considering them as synonyms, but i don't understand how to implement look ahead in the analyzer. Rohit Banga

Re: read more tokens during analysis

2010-02-10 Thread Rohit Banga
basically i want to use my own filter wrapping around a standard analyzer. the kind explained on page 166 of Lucene in Action, uses input.next() which is perhaps not available in lucene 3.0 what is the substitute method. Rohit Banga On Wed, Feb 10, 2010 at 6:46 PM, Rohit Banga wrote: >

Re: read more tokens during analysis

2010-02-12 Thread Rohit Banga
thanks will try the code and get back if i have any problems. Rohit Banga On Fri, Feb 12, 2010 at 10:38 PM, Ahmet Arslan wrote: > > > i want to consider the current word > > & the next as a single term. > > > > when analyzing "Arun Kumar" > > &g

purpose of QueryParser.Query function

2010-03-09 Thread Rohit Banga
what is the use of the function *org.apache.lucene.queryParser.QueryParser.Query() * ? Rohit Banga

examples of using explain method

2010-03-10 Thread Rohit Banga
document. I am using fuzzy matching with the QueryParser. Thanks Rohit Banga

Re: examples of using explain method

2010-03-10 Thread Rohit Banga
kson wrote: > Have you tried System.out.println(searcher.explain(blah blah).toString());? > > Also, Luke will do a lot of this for you, google Lucene Luke > > HTH > Erick > > On Wed, Mar 10, 2010 at 12:11 PM, Rohit Banga >wrote: > > > Could you he