-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a list of all preferences that can be set via UI or openrefine.l4j.ini #1677
Comments
JVM preferences are many... refer to official Java documentation for those. For OpenRefine preferences... TODO:
Expressions (Json Array)
Language
Facets
Google Drive Timeouts
Export Template
Reconciliation (Json Array)
Metadata (Json Array)
Wikidata (Json Array)
|
Another added today with #1959 Show reconciliation previews on hover of reconciliation candidates
|
Actually it's |
fixed above |
Awesome!
Cheers,
*Warwick*
…On Thu, Feb 28, 2019 at 1:38 AM Thad Guidry ***@***.***> wrote:
fixed above
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1677 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkExxeo11kRf09DClEdX4uaOpFNnpSpoks5vRphcgaJpZM4VOdtR>
.
|
@thadguidry: is it possible you meant: « en » (english) as the default language? Regards, |
@antoine2711 Yes, sorry, that should be Also, stay tuned... @ostephens is going to update this issue with a complete list of preferences (since @allanaaa asked for this so we can fully document them) And where the hope is that all the preferences can all be shown and exposed with a better UI concept in Issue #2796 If you can work on that #2796 and give us a prototype over the next month or two or three that would be amazing! |
There's a misconception in the original post @quirkiest - giving the JVM an argument of The JVM defined settings like
Some of these are (semi)-documented in the startup scripts, which also sometimes have different defaults, although some things there, like |
I am just starting to look at Preferences and I see that In reference to the instructions given at https://github.com/OpenRefine/OpenRefine/wiki/FAQ#how-do-i-change-the-workspace-directory-that-i-want-refine-to-use-for-its-project-storage-
Can you or can you not set |
Can not. Preferences are stored in the workspace directory, so it's already been located by the time preferences are loaded. I've removed the erroneous text from the wiki. |
It will be great to have a clear documentation to explain the difference between preferences and server settings. |
I've added a table to the Wiki page to figure out precisely what preferences information we should provide to users. Just now, during testing, setting |
We should document at which version these options have been added: for the one you mention, 3.5. |
The only preferences that will be shown in the "Preferences" screen in the UI are those that are not project dependent and that have values that are:
I think this means the only preferences that can be set and then viewed via the UI are: Core product
GData extension
Wikidata extension
While you can set a preference with any name from the Preferences screen in the UI, if you try to set something that can't be read appropriately then you will break stuff! So for example if you set |
That sounds like a bug to me. The user shouldn't be able to corrupt their preferences. |
@ostephens: I would respectfully contradict you here: Regards, |
@antoine2711 - ah thanks. I'm afraid I'd completely misconstrued the purpose of this and had not gone back and looked at the code - entirely my fault. This means it won't be settable via the Preferences page in the UI as it stands, so I've struck it through in the list above |
@tfmorris agreed ... but the whole thing is a mess to be honest. I can create an issue for this bug, but I think that a re-think of how these 'settable' preferences work might be a better idea? |
Actually @ostephens, this integer array is expressed as a string. So a correct entry would be: I will clarify that in the documentation. Regards, |
@antoine2711 is there a maximum number of integers in the array? |
@ostephens: no. Now that you mention it, the array should be trunked at 10 items, I guess. Regards, A. |
Is there a way to set "show null values in cells" as an install-wide preference, like, by default on for all new projects? I would love that. |
@allanaaa Yes, this is an option to toggle under All menu (1st column) |
What is the name of the key for that preference setting? I don't remember coming across anything like this. |
@ostephens Do you recall what the preference setting is for show nulls? @tfmorris Found the work he did in PR #1571 and #1544 and then around those summer months in 2018 Owen did lots of other null handling fixes on other commits if you look. |
So where do we (the none java programmer USERS) actually set the working directory when running on Windows? AND where do we actually set the amount of memory that ACTUALLY get used. I have tried to set it in the "refine.ini", in the "openrefine.l4j.ini", in the "refine.bat", none of it works... So can you please make some minimal documentation that actually do reference the correct way to set the most important settings BEFORE we start Openrefine... Openrefine are a great tool, but seriously its at mess to try to get it to utilize the computer hardware correct... But I have more or less given up on Openrefine and gone back to using Excel 2016 and Power Query, because I can't find any documentation that give me information on settings and configureations for Openrefine that actually works... Where ever I set the "Drefine.data_dir= {Some folder}", Openrefine falls back to "\AppData\Roaming\OpenRefine" |
@StoltHD We have all of this documented in our Wiki pages here on GitHub https://github.com/openrefine/openrefine/wiki and specifically about memory settings here https://github.com/OpenRefine/OpenRefine/wiki/FAQ-Allocate-More-Memory You can also take a look at our "work in progress" docs to see if that also helps you a bit more specifically about running OpenRefine https://docs.openrefine.org/manual/running I can tell you are frustrated, hang on there for just a bit, so I'd advise looking at those things above, and then hopping onto our Gitter chat for direct support or our mailing list. Isn't that great that you get free support at any time from us? :-) Try that with Excel My refine.ini file looks like: # NOTE: This file is not read if you run the Refine executable directly
# It is only read of you use the refine shell script or refine.bat
# FOR DEVELOPERS: you can copy refine.ini and rename it to refine-dev.ini
# Configurations in refine.ini will be ignored if refine-dev.ini exists
# refine-dev.ini won't be tracked by Git, so feel free to put your custom configurations in it
no_proxy="localhost,127.0.0.1"
#REFINE_PORT=3334
#REFINE_HOST=127.0.0.1
#REFINE_WEBAPP=main\webapp
# Memory and max form size allocations
#REFINE_MAX_FORM_CONTENT_SIZE=1048576
REFINE_MEMORY=4000M
# Set initial java heap space (default: 256M) for better performance with large datasets
REFINE_MIN_MEMORY=1400M
# Some sample configurations. These have no defaults.
#JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151
# Use a single JAVA_OPTIONS that includes any JVM options you need upon OpenRefine startup
JAVA_OPTIONS=-Drefine.data_dir=E:\openrefine_data
# Uncomment to increase autosave period to 60 mins (default: 5 minutes) for better performance of long-lasting transformations
#REFINE_AUTOSAVE_PERIOD=60
# OAuth credentials configurations for Google Data
# Default OAuth credentials for Google Data have been embedded in the release version of OpenRefine
# So if you are a user, you can just skip these configurations, but it's recommended to use your own credentials
# If you are a developer, you'll need to acquire them by yourself
# To get your own credentials, please see the wiki: https://github.com/OpenRefine/OpenRefine/wiki/Google-Extension
# The wiki will guide you to get a client_id/client_secret pair
# After getting the client_id and client_secret, put them below
#GDATA_CLIENT_ID=your_client_id
#GDATA_CLIENT_SECRET=your_client_secret |
This isn't a preference setting. Selection of the menu item just toggles the styling of a span in the cell |
@ostephens Thanks Owen, then in that case, I guess #3058 will be useful for Allana and others. |
This is now documented here: https://docs.openrefine.org/manual/running |
I work with very large datasets (~20MM rows x 12 cols) and set cache & memory to take advantage of the big EC2 server I am using. Glad to see that in V3 this seems to be very easy.
I also set preferences:
-Drefine.data_dir=D:\OpenRefine\working
-Dui.browsing.listFacet.limit=5000
I'd love to know what the range of prefs actually are - what is available? For example I set display rows default via data-table-view.js but if it were a preference that'd make life much easier.
The text was updated successfully, but these errors were encountered: