Re: Filter query and Faceting problem

2016-02-18 Thread Filippo La Torre
Thank you Alessandro for the suggestion (i have to investigate about solrJ), and thank you Mikhail for the explanation. My problem isn’t related to that simple query and it don't depends on framework java. Maybe i’m not smart enough, but if i have this query: WHERE (macro_category = DRINKS AND m

Re: Filter query and Faceting problem

2016-02-18 Thread Alessandro Benedetti
As Mikhail suggests, are you sure spring data solr is the right tool for you ? Probably is a great tool for a newbie ( to be honest I just noticed it right now) but maybe you need a more customisable approach to build tag/exclusion filter queries on top of facets. You could use spring data but then

Re: Filter query and Faceting problem

2016-02-18 Thread Mikhail Khludnev
Tagging works only in the way I describe. Otherwise you might need to need issue separate queries. However, are you sure that this case shouldn't be done in more regular way: fq={!tag=foo}department:foods&fq={!tag=foo}macro_category.key:(drinks food) On Thu, Feb 18, 2016 at 1:48 PM, Filippo La Tor

Re: Filter query and Faceting problem

2016-02-18 Thread Filippo La Torre
Hi, thank for your response. The problem is that i make this query by Spring Data Solr and i have to make complex AND/OR. Example : ( department:foods AND macro_category.key:drinks) OR ( department:foods AND macro_category.key:food) What is the best practice the make complex AND/OR query and t

Re: Filter query and Faceting problem

2016-02-18 Thread Mikhail Khludnev
just do fq={!tag=DEPARTMENT}department:foods&fq={!tag=MACROCATEGORY}macro_category.key:drinks tagging in the middle of the query may somehow work, but it's not a recommended way. On Thu, Feb 18, 2016 at 11:48 AM, Filippo La Torre < filippo.lato...@stentle.com> wrote: > Hello everyone, > > this is

Filter query and Faceting problem

2016-02-18 Thread Filippo La Torre
Hello everyone, this is my first mail to solr user mailing list. I’m new to Solr too, my Solr version is 5.4.1. I have a problem with filter query and faceting, i have to make a filter query with AND/OR using also faceting (i will make this query using Spring Data Solr). It seems that the same f

Solr Offset and Date faceting problem

2011-05-17 Thread Rohit
I am trying to facet based on date field and apply user timezone offset so that the faceted results are in user timezone. My faceted result is given below, 0 6

Re: Faceting Problem

2008-03-20 Thread Erik Hatcher
isplaying the values I am indexing. I dont know what mistake I am committing. I would be glad if someone could help me on this. Tejaswi -- View this message in context: http://www.nabble.com/Faceting- Problem-tp16144141p16144141.html Sent from the Solr - User mailing list archive at Nabble.com.

Faceting Problem

2008-03-19 Thread Tejaswi_Haramurali
res' field ,I get the results. But However when I do a search on any of the other fields, I dont get the results. I have ensured that indexed=true in schema.xml for all these fields and have also tried displaying the values I am indexing. I dont know what mistake I am committing. I would be g

Re: Date faceting problem

2007-09-04 Thread Chris Hostetter
: I'm having an issue w/ the date faceter, running solr 1.2.0 on Tomcat Welcom to the list Delsey, Date Faceting was only recently added to the Solr trunk ... there is a wiki convention of noting when docs refer to "bleeding edge" stuff not in the latest release by noting hte version it's expe

Date faceting problem

2007-09-04 Thread Delsey Sherrill
Hi, This is my first post to the list, having done my FAQ/wiki/archive due diligence to no avail. I'm having an issue w/ the date faceter, running solr 1.2.0 on Tomcat populated with the example data. When I make a date facet request (example copied verbatim from the SimpleFacetParameter wik