Hi Pranab/All
I totally Agree with you but Atleast it should search for the given query
and give the document related to it.
I Gave Query : C#,dotnet
Documents Taken:
1, jdbc
2 Java dotNet
3 java apache
4 dotNet C#
5 java
6 java apache dotNet C# MVC
7 jakarta
8 a
Hey Mike,
My fault... I wasn't paying attention and thought I was replying to a
response from James. No wonder it reminded me of our last conversation. :)
-Greg
On Thu, Jan 22, 2015 at 10:37 AM, Michael Sokolov <
msoko...@safaribooksonline.com> wrote:
> Yeah I know -- we've been around this bl
Hi,
While indexing , a norm value is calculated for each field and
injected in the index. This norm value is used as field level boosting
which is also multiplied with other factors like tf-idf and query level
boost which you specify with setBoost. so you see setting boosting is one
of the s
Hello
Reply to the mail, sent by Nitin We tried and this is what we got :
My query was dotNet^10.0 Resume:jdbc Resume:C# Resume:MVC
Documents:
.1. java jdbc
2.Java dotNet
3.java jdbc apache
4.java dotNet
5.java
6java jdbc apache dotNet C# MVC
7.jakarta
8",apache
9.java jdbc apac
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 here a very small completely
self-contained program or test case, using RAMDirectory, that
demonstrates the problem.
--
Ian.
On Fri, Jan 23, 2
Hi Priyanka
Construct three different termqueries for house, home and flat. Now for
first two termqueries you can set boost on them by setBoost(float b)
method of TermQuery class. Now above three termqueries will be clauses
of your boolean query, with OCCUR.SHOULD and search in normal way. Thi
Hello
Can point me someone lucene test comparison with similar fulltext search
solution like :
{
oracle text query
xapian
terrier
sql serve full text
mysql full text
}
I found some tests comparison but for lucene 3.x instead of 4.x
Best Regards,
Hi Ian
I tried with what u sent
Query-java~5 jakarta~5 apache tomcat
Document : "1", "java jakarta tomcat"
"2", java jakarata""
"3", "java jakarta apache"
Score : 1 :0.27094576
3 :0.27094576
2 :0.010494952
If we go by query it is giving same score ..It is not working.
Thanks
Priyanka
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:17 AM, Priyanka Tufchi
wrote:
> Hi ALL
>
> I am working on a project which uses lucene for searching . I am
> struggling with boolean based Query : Actual Scena