RE: [MarkLogic Dev General] Word query included element weight

2010-01-15 Thread Danny Sokolsky
Hi Shannon, Sorry, I got the number range wrong on the weight in my previous email. I was incorrectly referring to the cts:query constructor weight arguments, not the field (and word-query) weight. It does not round down to 16, and negative weights are not allowed. To lower the score, make th

Re: [MarkLogic Dev General] Word query included element weight

2010-01-15 Thread Shannon
Thanks, it's working now, see the rest of my e-mail (sorry it was so verbose). I made a suggestion that the valid range should be documented because it wasn't rounding down 500 properly. Best, Shannon On Jan 15, 2010, at 5:27 PM, Danny Sokolsky wrote: > It would need to be in the namespace of

RE: [MarkLogic Dev General] Word query included element weight

2010-01-15 Thread Danny Sokolsky
It would need to be in the namespace of your title element. In the word query included element interface, make sure you specify the proper namespace and localname for the included element. -Danny -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun..

Re: [MarkLogic Dev General] Word query included element weight

2010-01-15 Thread Shannon
Danny, Thank you for this. The reindexer is enabled and the throttle is set to 5. It was reindexed, and I triggered it manually, just in case. Looked at the status summary to confirm that it happened. Happens quickly as the database is only 31MB. I have not declared a default namespace, so I a

RE: [MarkLogic Dev General] Word query included element weight

2010-01-15 Thread Danny Sokolsky
Hi Shannon, This does appear to be the right approach. Did you reindex your database after doing this (or wait for reindexing to complete if reindexing is enabled)? The word query include weights are built into the indexes. Also, the weights should be between -16.0 and 16.0; a weight greater

[MarkLogic Dev General] Word query included element weight

2010-01-15 Thread Shannon
Hi, If I want to boost the relevance of a title element in the search results in an app deployed with Application Builder, would increasing the weight value of word query includes within that database be the thing to do? I have tried ramping it up, from 3 to 1000 to 9, and it appears to hav