Terrier Users :  Terrier Forum terrier.org
General discussion about using/developing applications using Terrier 
Error in property.settings
Posted by: Abigot ()
Date: November 08, 2012 08:04AM

Hi all,

I just found an issue in my experiment by printing the ".settings" file.

I take the example of a block indexation by size. The ."settings" still shows me: block.indexing=false
blocks.size=1


I did it in two steps : first create the index, and then retrieve on it; does the retrieval part tries to generate the ".setting" files according to what it found in the index? or does it just take the standard settings?

Also, on the wiki we can find two different properties for the block size: "blocks.size" (on the properties page) and "block.size" (on advanced indexing).
I used "block.size" on all my experiment and hope it worked well because terrier never showed me any error. I'm not very confident about that it worked well...

Also, I think some combinations of parameters are not processed by terrier; I haven't analysed that yet, but if you have known that kind of issues, I'd be glad to hear from you so I may not lost some time on this combinations.

Thanks,

best wishes,


Anthony

______________________________
Anthony



Edited 3 time(s). Last edit at 11/09/2012 08:40AM by Abigot.

Options: ReplyQuote
Re: Error in property.settings
Posted by: craigm ()
Date: November 09, 2012 11:41AM

I checked the source code, the definitive name for the property is blocks.size.

I'm not sure blocks.size > 1 is a code path that is regularly tested. Some things like phrases might not do what expected. YMMV.

I am tracking the documentation issue at [terrier.org] - thanks for reporting this!

On the other hand, the .settings file cannot reproduce properties set in the indexing side.


Craig

Options: ReplyQuote
Re: Error in property.settings
Posted by: Abigot ()
Date: November 12, 2012 08:25AM

Thank you Craig.

Here is where I found "block.size": [terrier.org]

I made the test with "block" and "blocks" for the size; do you know if it's the same for delimiters (block or blocks).

I'll test both if needed, but you can save me some time winking smiley

Thanks for your reply on the ".settings" file. Then maybe this file shouldn't show the indexing part when retrieving... (for terrier v3.6 grinning smiley)

Anthony

Options: ReplyQuote
Re: Error in property.settings
Posted by: craigm ()
Date: November 13, 2012 01:01PM

definitive property names:

blocks.size
block.delimiters.enabled



Craig

Options: ReplyQuote
Re: Error in property.settings
Posted by: craigm ()
Date: November 13, 2012 01:02PM

.settings file is difficult to fix.

TR-218 resolved.

Craig

Options: ReplyQuote
Re: Error in property.settings
Posted by: Abigot ()
Date: November 15, 2012 10:37AM

Ok thanks,

i noticed even the java doc is mispelling.

I suggest I keep posting here links to "block.size" found online.

[terrier.org]

[terrier.org]

______________________________
Anthony

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.