Re: How to alter the facet query limit default

2017-01-31 Thread alessandro.benedetti
It is already possible[1].

I still don't understand why your default stopped working.
You said that when you changed the name of your fields ( that were used in
the copy fields as destination), the default value ( coming from the source
field) stopped to work.
How did you solve that issue ? Have you found any reason/bug ?

Cheers


[1]
https://cwiki.apache.org/confluence/display/solr/RequestHandlers+and+SearchComponents+in+SolrConfig




--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317994.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to alter the facet query limit default

2017-01-31 Thread Comcast
I solved it by changing the field names to camelcase and adding the facet limit 
parameter to the query.

Sent from my iPhone

> On Jan 31, 2017, at 4:19 AM, alessandro.benedetti <abenede...@apache.org> 
> wrote:
> 
> What was the problem with the default in the end ?
> 
> Cheers
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html
> Sent from the Solr - User mailing list archive at Nabble.com.



Re: How to alter the facet query limit default

2017-01-31 Thread Comcast
It would be nice if facets and all the parameters could be configured in a 
config/xml file.

Sent from my iPhone

> On Jan 31, 2017, at 4:19 AM, alessandro.benedetti <abenede...@apache.org> 
> wrote:
> 
> What was the problem with the default in the end ?
> 
> Cheers
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html
> Sent from the Solr - User mailing list archive at Nabble.com.



Re: How to alter the facet query limit default

2017-01-31 Thread alessandro.benedetti
What was the problem with the default in the end ?

Cheers



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to alter the facet query limit default

2017-01-30 Thread Erick Erickson
Alexandre:

We recommend only using alphanum and underscore here:
https://cwiki.apache.org/confluence/display/solr/Defining+Fields. WDYT
about adding an explicit warning about this problem there? Or a JIRA
about "field names with periods cannot use field qualifiers like
f..facet.limit where  contains periods"?

Erick

On Mon, Jan 30, 2017 at 10:35 AM, KRIS MUSSHORN <mussho...@comcast.net> wrote:
>
> Alexandre..
>
> Once i converted to fieldnames without dots it worked.. thank you
>
> Kris
> - Original Message -
>
> From: "Alexandre Rafalovitch" <arafa...@gmail.com>
> To: "solr-user" <solr-user@lucene.apache.org>
> Sent: Thursday, January 26, 2017 11:40:49 AM
> Subject: Re: How to alter the facet query limit default
>
> facet.limit?
> f..facet.limit? (not sure how that would work with field
> name that contains dots)
>
> Docs are at: https://cwiki.apache.org/confluence/display/solr/Faceting
>
> Regards,
> Alex.
> 
> http://www.solr-start.com/ - Resources for Solr users, new and experienced
>
>
> On 26 January 2017 at 10:36, KRIS MUSSHORN <mussho...@comcast.net> wrote:
>> SOLR 5.4.1 i am running a query with multiple facet fields.
>> _snip_ 
>> select?q=*%3A*=metatag.date.prefix4+DESC=7910=metatag.date.prefix7=json=true=true=metatag.date.prefix7
>>  =metatag.date.prefix4=metatag.doctype
>>
>> field metatag.date.prefix7 has way more facets than the default of 100.
>>
>> How would I set up solr, or modify my query, to ensure that the facets 
>> return all values.
>>
>> TIA,
>>
>> Kris
>>
>


Re: How to alter the facet query limit default

2017-01-30 Thread KRIS MUSSHORN

Alexandre.. 

Once i converted to fieldnames without dots it worked.. thank you 

Kris 
- Original Message -

From: "Alexandre Rafalovitch" <arafa...@gmail.com> 
To: "solr-user" <solr-user@lucene.apache.org> 
Sent: Thursday, January 26, 2017 11:40:49 AM 
Subject: Re: How to alter the facet query limit default 

facet.limit? 
f..facet.limit? (not sure how that would work with field 
name that contains dots) 

Docs are at: https://cwiki.apache.org/confluence/display/solr/Faceting 

Regards, 
Alex. 
 
http://www.solr-start.com/ - Resources for Solr users, new and experienced 


On 26 January 2017 at 10:36, KRIS MUSSHORN <mussho...@comcast.net> wrote: 
> SOLR 5.4.1 i am running a query with multiple facet fields. 
> _snip_ 
> select?q=*%3A*=metatag.date.prefix4+DESC=7910=metatag.date.prefix7=json=true=true=metatag.date.prefix7
>  =metatag.date.prefix4=metatag.doctype 
> 
> field metatag.date.prefix7 has way more facets than the default of 100. 
> 
> How would I set up solr, or modify my query, to ensure that the facets return 
> all values. 
> 
> TIA, 
> 
> Kris 
> 



Re: How to alter the facet query limit default

2017-01-26 Thread KRIS MUSSHORN

Alexandre, 
Thanks. 
I will refactor my schema to eliminate the period seperated values in a field 
names and try your suggestion. 
I'll let you know how it goes. 

Kris 
- Original Message -

From: "Alexandre Rafalovitch" <arafa...@gmail.com> 
To: "solr-user" <solr-user@lucene.apache.org> 
Sent: Thursday, January 26, 2017 11:40:49 AM 
Subject: Re: How to alter the facet query limit default 

facet.limit? 
f..facet.limit? (not sure how that would work with field 
name that contains dots) 

Docs are at: https://cwiki.apache.org/confluence/display/solr/Faceting 

Regards, 
Alex. 
 
http://www.solr-start.com/ - Resources for Solr users, new and experienced 


On 26 January 2017 at 10:36, KRIS MUSSHORN <mussho...@comcast.net> wrote: 
> SOLR 5.4.1 i am running a query with multiple facet fields. 
> _snip_ 
> select?q=*%3A*=metatag.date.prefix4+DESC=7910=metatag.date.prefix7=json=true=true=metatag.date.prefix7
>  =metatag.date.prefix4=metatag.doctype 
> 
> field metatag.date.prefix7 has way more facets than the default of 100. 
> 
> How would I set up solr, or modify my query, to ensure that the facets return 
> all values. 
> 
> TIA, 
> 
> Kris 
> 



Re: How to alter the facet query limit default

2017-01-26 Thread Alexandre Rafalovitch
facet.limit?
f..facet.limit? (not sure how that would work with field
name that contains dots)

Docs are at: https://cwiki.apache.org/confluence/display/solr/Faceting

Regards,
   Alex.

http://www.solr-start.com/ - Resources for Solr users, new and experienced


On 26 January 2017 at 10:36, KRIS MUSSHORN  wrote:
> SOLR 5.4.1 i am running a query with multiple facet fields.
> _snip_ 
> select?q=*%3A*=metatag.date.prefix4+DESC=7910=metatag.date.prefix7=json=true=true=metatag.date.prefix7
>  =metatag.date.prefix4=metatag.doctype
>
> field metatag.date.prefix7 has way more facets than the default of 100.
>
> How would I set up solr, or modify my query, to ensure that the facets return 
> all values.
>
> TIA,
>
> Kris
>


How to alter the facet query limit default

2017-01-26 Thread KRIS MUSSHORN
SOLR 5.4.1 i am running a query with multiple facet fields. 
_snip_ 
select?q=*%3A*=metatag.date.prefix4+DESC=7910=metatag.date.prefix7=json=true=true=metatag.date.prefix7
 =metatag.date.prefix4=metatag.doctype 

field metatag.date.prefix7 has way more facets than the default of 100. 

How would I set up solr, or modify my query, to ensure that the facets return 
all values. 

TIA, 

Kris