Finding Issue with NgramAnalyzer in Apache Lucene

2015-05-05 Thread Priyanka Tufchi
Hi all I am trying to use Apache Lucene for Ngram Separator. Reader reader = new StringReader("This is a test string"); NGramTokenizer gramTokenizer = new NGramTokenizer(reader, 1, 3); CharTermAttribute charTermAttribute = gramTokenizer.addAttribute(CharTermAttribute.class); gramTokenizer.rese

Re: Boolean Search Query is not workng

2015-01-23 Thread Priyanka Tufchi
> > > > > On Fri, Jan 23, 2015 at 4:34 PM, Ian Lea wrote: > > > > > Use IndexSearcher.explain() to help figure out what matched, why. And > > > watch out for typos: jakarta != jakarata. > > > > > > If you still can't figure it out, post

Re: Boolean Search Query is not workng

2015-01-23 Thread Priyanka Tufchi
t is giving same score ..It is not working. Thanks Priyanka On Fri, Jan 23, 2015 at 3:19 PM, Ian Lea wrote: > How about "home~10 house~10 flat". See > http://lucene.apache.org/core/4_10_3/queryparser/index.html > > > -- > Ian. > > > On Fri, Jan 23, 2015 at 7

Boolean Search Query is not workng

2015-01-22 Thread Priyanka Tufchi
Hi ALL I am working on a project which uses lucene for searching . I am struggling with boolean based Query : Actual Scenario is e.g In Query, if I give house home flat then inside It should search house or home or flat but I want to give them with weightage like house and home should get

Re: Lucene not showing Low Score Doc

2014-10-27 Thread Priyanka Tufchi
; documents, and the default is to return the top-10. > > Again, if you have a short test that demonstrates the problem, that would > be good. > > Shai > > On Mon, Oct 27, 2014 at 2:39 PM, Priyanka Tufchi < > priyanka.tuf...@launchship.com> wrote: > > > Hi Al

Lucene not showing Low Score Doc

2014-10-27 Thread Priyanka Tufchi
Hi All Actually I have set of 10 doc which i gave for comparison through apache lucene now when i check score for the set ,out of 10 i am getting 8 in my database , rest 2 are not showing . If the score is very less still lucene should show something , how can i handle it as i have to show all 10

Re: getting exception while deploying on axis 2

2014-09-25 Thread Priyanka Tufchi
thanks Uwe for your reply, Can you explain what you mean by *original* JAR files of Lucene. And if I did not use original Jar, from where i can get it? As my project is java project and i have no idea how to use maven .Can you give some idea how to add and use maven shade plugin in my project a

Doubt Regarding Lucene matchscore

2014-07-18 Thread Priyanka Tufchi
Hi All I am matching and ranking two set of Docs using apache lucene and I passes page hits 1000. But in the result it shows 200 only why? It means that rest 800 are not matched and if so then what we should consider if we are getting 0.00 score for any match . Waiting for reply Thanks Priyanka

Re: How to add machine learning to Apache lucene

2014-05-26 Thread Priyanka Tufchi
. Thanks Priyanka On Wed, May 7, 2014 at 3:23 PM, Furkan KAMACI wrote: > Hi; > > Could you explain what you need a bit more? > > Thanks; > Furkan KAMACI > 7 May 2014 23:05 tarihinde "Priyanka Tufchi" < > priyanka.tuf...@launchship.com> > yazdı: > > &

How to add machine learning to Apache lucene

2014-05-07 Thread Priyanka Tufchi
Hello All How can I add Maching Learning Part in Apache Lucene . Thanks Priyanka

How to Give Range In Document Part

2014-02-27 Thread Priyanka Tufchi
Hi All Is there any way to give the NumericRange For Document like we have NumericRangeQuery for Query? Scenario : Document has Min Year and Max Year Experience of Requirement and the child Query will have overall Exp ...I have to Do searching on base of Exp . How can I DO it ? Thanks Priyanka

Doubt in Top Score

2014-02-25 Thread Priyanka Tufchi
Hi All I have Taken 2 Docs: 1 DOC has Skills- 1) Manual Testing 2) Software Testing 2 DOC has Skills-1) SQL 2) RDBMS Now My Child Query has Skills :1)Software Testing 2) Manual Testing and the Parent Query (JobID) which when I give Parent Query (1) then the score it gives 1.8696475 and wh

Query Regarding Parent Query

2014-02-20 Thread Priyanka Tufchi
Hi All I have been experimenting with parent child relation code in Apache Lucene using ParentBlockJoinQuery .Can any one explain me if I don't add ParentQuery in indexSearcher and simply search by childQuery What will happen .I tried it using two docs and it give equal score to both docs. Than

parentblockjoincollector.getTopGroup is giving null

2014-02-19 Thread Priyanka Tufchi
Hi All, I am getting Null Value in TopGroups ScoreHits = parentblockjoincollector.getTopGroups.(...) .Please Help Out. Attached the Code with the mail. public void ExpMatchManager( ) throws IOException, SQLException, ClassNotFoundException {

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Priyanka Tufchi
er. > > Also try running your childQuery separately and confirm you get > non-zero totalHits. > > Hmm, this code never calls indexsearcher.search on the query? > > Mike McCandless > > http://blog.mikemccandless.com > > > On Thu, Jan 30, 2014 at 5:41 AM, Priyanka Tufchi

Re: Need Help In code

2014-01-30 Thread Priyanka Tufchi
ss.com > > > On Thu, Jan 30, 2014 at 2:20 AM, Priyanka Tufchi > wrote: >> Hello >> >> This is the Sample Code Of BlockJoinQuery( we tried . >> Issues: >> 1)Dont know how to get hits and score from it >> 2) This code is not giving output. >> &

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Priyanka Tufchi
che.lucene.document.TextField.TYPE_STORED)); document.add(new org.apache.lucene.document.Field("price", price, org.apache.lucene.document.TextField.TYPE_STORED)); return document; } On Thu, Jan 30, 2014 at 2:24 AM, Michael McCandless wrote: > Hi, > > It looks like the mailing l

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Priyanka Tufchi
hanks. On Wed, Jan 29, 2014 at 3:15 AM, Priyanka Tufchi wrote: > Hello Michael, > > In the example given in your blog in following line there is error > > searcher.search(query, c); > > whether it should convert in IndexSearcher > > there is no explanation given

Need Help In code

2014-01-29 Thread Priyanka Tufchi
Hello This is the Sample Code Of BlockJoinQuery( we tried . Issues: 1)Dont know how to get hits and score from it 2) This code is not giving output. I have attached the code for easy view StandardAnalyzer analyzer = new StandardAnalyzer(Version.LUCENE_41); // 1. create the index Directory inde

BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
Hello , I want to Search relational content which has parent child relationship . I am following below link http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html but got problem in following line BlockJoinQuery skuJoinQuery = new BlockJoinQuery( skuQuery, shi

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
ttp://blog.mikemccandless.com > > > On Wed, Jan 29, 2014 at 5:44 AM, Priyanka Tufchi > wrote: >> Hello Michael, >> >> Can i get code snippet for this new classes: ToParentBlockJoinQuery, >> ToChildBlockJoinQuery >> and how to use it. >> >> than

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
nQuery, ToChildBlockJoinQuery. > > Mike McCandless > > http://blog.mikemccandless.com > > > On Wed, Jan 29, 2014 at 4:32 AM, Priyanka Tufchi > wrote: >> Subject: BlockJoinQuery is missing in lucene-4.1.0 . >> To: java-user@lucene.apache.org >> >> >> Hello , &

Fwd: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
Subject: BlockJoinQuery is missing in lucene-4.1.0 . To: java-user@lucene.apache.org Hello , I want to Search relational content which has parent child relationship . I am following below link http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html but got problem in f