Re: Generating Query

2009-08-13 Thread bourne71
I am trying to boost results that have all the query in it to increase its ranking. But both the query unfortunately does not seems to effect it Ahmet Arslan wrote: thanks for the suggestion, but unfortunately it does not work. What are you trying to do? Both Adriano's and my query

Re: Generating Query

2009-08-13 Thread bourne71
hm...try tat...but doesn't seems to be working for me though Ahmet Arslan wrote: I am trying to boost  results that have all the query in it to increase its ranking. But both the query unfortunately does not seems to effect it Did you read last two messages on this thread?

Generating Query

2009-08-12 Thread bourne71
Hi, I am trying to build a query that looks like the following: url:(+news +politics)^1.5 content:(+news +politics)^2.0 But I can't seems to find any reference to it. I try hardcoding it like the following: BooleanQuery query = new BooleanQuery(); query.add(new TermQuery(new Term(field, +news

Re: Generating Query

2009-08-12 Thread bourne71
thanks for the suggestion, but unfortunately it does not work Ahmet Arslan wrote: I am trying to build a query that looks like the following: url:(+news +politics)^1.5 content:(+news +politics)^2.0 But I can't seems to find any reference to it. I try hardcoding it like the following:

Query Boosting

2009-08-11 Thread bourne71
Hi, I am fairly new to Lucene and have encounter a problem with the search function i am trying to create using Lucene. When I search, lets say news sharing, then the results return and display. Its fine up to this point until I check the ranking. Some results, although match only 1 of the 2

Re: Query Boosting

2009-08-11 Thread bourne71
thanks, I understand how boosting works, what I need will be a boost in the query that will increase the score of a page if all keywords/query is found in the page to increase its ranking. I tried all sort of combination and it did not work. Anyone can provide any suggestion? Simon Willnauer

Re: Boosting Search Results

2009-08-03 Thread bourne71
Hey, thanks for the suggestion. I think of performing 2 searches as well. Unfortunately I dont know how to perform a search on the first results return. Could u guide me a little? I tried to look around for the information but found none Thanks Ian Lea wrote: You could write your own

Re: Boosting Search Results

2009-08-03 Thread bourne71
Sorry...I mean the double searching part. That is the part I dont understand how to do...since after retrieving the 1st results, I am not sure how to search it again. Ian Lea wrote: Sorry, I'm not clear what you don't know how to do. To spell out the double search suggestion a bit more:

Re: Boosting Search Results

2009-08-02 Thread bourne71
Thanks for all the reply. It help me to understand problem better, but is it possible to create a query that will give additional boost to the results if and only if both of the word is found inside the results. This will definitely make sure that the results will be in the higher up of the list.

Boosting Search Results

2009-07-31 Thread bourne71
Hi, new here. I recently started using lucene and had encounter a problem.I crawl and index a number of documents. When i perform a search, lets say tall fat, by right the results that matches all the keyword should be on top and display first. But in my search results, some of the document