Increase Smart View search results limit

Where can I configure the Smart View search results limit?. Actually it only display 350 results.

Tagged:

Best Answer

  • AlvaroDeAndresGomez
    edited March 21 #2 Answer ✓

    I think your issue is on dfc.properties, as that 350 is a default value:

    #Maximum number of results to retrieve by a query search.min value: 1, max value: 10000000
    dfc.search.max_results = 1000

    #Maximum number of results to retrieve per source by a query search.min value: 1, max value: 10000000
    dfc.search.max_results_per_source = 350

Answers

  • Did you check in the D2FS.properties file of any other XML/properties files in the /webapps/D2-Smartview/WEB-INF/classes folder?

    Did you check in D2-Config the config of your Search widget?

    Also, (I know I didn't but…) did you check in the Doc?

  • Hi,

    I've checked those things, but nothing seems to work. Thanks.

  • Just in case, did you stop the app server services, clear its cache and restart it when/if you modified in D2-Config of any of the config files

    I know that especially D2-Config has an option to reload the options and the cache but I found out the hard way that it doesn't refresh everything…

  • I did not find any D2-Config that affects to the number of search results for Smart View.

  • AlvaroDeAndresGomez
    edited March 21 #7 Answer ✓

    I think your issue is on dfc.properties, as that 350 is a default value:

    #Maximum number of results to retrieve by a query search.min value: 1, max value: 10000000
    dfc.search.max_results = 1000

    #Maximum number of results to retrieve per source by a query search.min value: 1, max value: 10000000
    dfc.search.max_results_per_source = 350

  • Thank you very much, Álvaro. That was the solution. Modify the dfc.properties file.

    Francisco, your interest is appreciated. But if you don't know the answer, I think it's better not to throw out ideas randomly because they can confuse and waste the time of those looking for a solution.