[ 
https://issues.apache.org/jira/browse/SOLR-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196597#comment-17196597
 ] 

Jan Høydahl commented on SOLR-6152:
-----------------------------------

Did a last test, and think I found a bug in the logic around defType. 
# Select defType=edismax and do a search
# Switch back to defType=lucene and do a search (works)
# Check 'indent off' and do a new search
# Now, the dropdown returns to 'edismax'

Another minor thing is the feature "Remove non-visible fields from the 
request-params". I see in the code that it is designed to only work for 
dismax/edismax. However, we also have invisible fields for 'hl', 'facet', 
'spatial' and 'spellcheck', which could be hidden the same way.

A third observation is that once you check e.g. 'hl', then it sticks in the URL 
forever (with hl=false when unchecked), instead of be removed (default false) 
when unchecked. For custom request handlers that set hl=true as default, this 
can actually be a way to disable hl, so perhaps it is not so bad after all?

> Pre-populating values into search parameters on the query page of solr admin
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-6152
>                 URL: https://issues.apache.org/jira/browse/SOLR-6152
>             Project: Solr
>          Issue Type: Improvement
>          Components: Admin UI
>    Affects Versions: 4.3.1
>            Reporter: Dmitry Kan
>            Assignee: Jan Høydahl
>            Priority: Major
>         Attachments: SOLR-6152.patch, SOLR-6152.patch, SOLR-6152.patch, 
> SOLR-6152.patch, copy_url_to_clipboard.png, copy_url_to_clipboard_v2.png, 
> prefilling_and_extending_the_multivalue_parameter_fq.png, 
> prepoluate_query_parameters_query_page.bmp
>
>
> In some use cases, it is highly desirable to be able to pre-populate the 
> query page of solr admin with specific values.
> In particular use case of mine, the solr admin user must pass a date range 
> value without which the query would fail.
> It isn't easy to remember the value format for non-solr experts, so I would 
> like to have a way of hooking that value "example" into the query page.
> See the screenshot attached, where I have inserted the fq parameter with date 
> range into the Raw Query Parameters.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to