Boost Sub-Query

2007-10-24 Thread java_user_
Is it possible to boost subqueries with QueryParser? For example: ((apple AND banana)^10 OR orange) Thanks -- View this message in context: http://www.nabble.com/Boost-Sub-Query-tf4685212.html#a13388793 Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Stemmer and Synonym analyzer

2007-10-24 Thread java_user_
I am planning on building an analyzer that has stemming, stopwords and synonyms. I am planning on using the Snowball Porter stemmer and the WordNet synonym engine. Does it make sense to stem the synonym index? I do not want to stem the term “history” and then try to find the synonym. The st

Re: Custom SynonymMap

2007-11-26 Thread java_user_
Were you able to find the post about a custom SynonymMap? Antonius Ng-2 wrote: > > Hi all, > > I'd like to add more words into SynonymMap for my application, but the > HashMap that holds all the words is not visible (private). > > Is there any other Class that I can use to implement SynonymAn

Boost One Term Query

2007-11-29 Thread java_user_
Boosting a one term query does not have an affect on the score. For example: apple Has the same score as: apple^3 But repeating the term will up the score apple apple apple I expected the score to go up when boosting a one term query. Is that a wrong expectation? Thanks! -- View this messag

Re: Boost One Term Query

2007-12-06 Thread java_user_
Thanks for the response Hoss. The score I receive is from the Explaination object. The score stays the same regardless of how I boost the single term. The score of the query: apple Is the same as the score of the query: apple^3 I am surprised by the result of the test. Would you expect "appl

Re: Boost One Term Query

2007-12-06 Thread java_user_
I was hoping to boost the entire query to give the query more weight compared to other queries. Instead of boosting my entire query, I may just multiply the resulting score by the weight (or something like that). Yonik Seeley wrote: > > On Dec 6, 2007 2:31 PM, java_user_ <[EMAIL

Custom SynonymMap

2007-12-06 Thread java_user_
Is there a way to add synonyms to the SynonymMap map? The HashMap that holds all the words is not visible (private) so extending it will not work. Has anyone added their own custom vocabulary? -- View this message in context: http://www.nabble.com/Custom-SynonymMap-tf4958585.html#a14201041 Sen