Posts

Where should i place “piece” when talking about it being from a collection?

Image
up vote 0 down vote favorite I came across the following sentence, and I'm not sure if I should change it or it is grammatically fine as it is. Let's say BRAND is a brand of jewelry such as Pandora, Tiffany, etc.. I am looking to buy a BRAND Jewelry piece for her birthday! Is this the proper way to use piece ? In respect to it being from a collection? Or should i say: I am looking to buy a piece from BRAND's line of jewelry for her birthday ? I only say this as this is the way I would say it, and the original sentence I just feel is wrong, but I cant find any definitive proof to make my claim. If there is another way to properly state this sentence, I am also interested in how. grammar word-usage share |...

The formula of ScoreDoc.score. in Lucene

Image
up vote 1 down vote favorite 1 I want to create a research engine using Lucene. From Lucene documentation, I noticed that ScoreDoc.score gives the similarity score between the document and query. I want to know how the similarity score is calculated? Please help me.. java apache search solr lucene share | improve this question edited Nov 22 at 20:37 asked Nov 22 at 16:45 Noran 164 9 ...