Tagging Locations using SynonymGraphFilterFactory

2017-04-08 Thread marotosg
Hi, I am trying to extract locations from a location field which contains location information in different formats. My initial idea is to extract only UK and USA location and get them Standard. For instance if my field contains "Wakefield" then I will convert it to "Wakefield West Yorkshire". Af

Re: SolrJ appears to have problems with Docker Toolbox

2017-04-08 Thread Mike Thomsen
Hi Rick, No, I just used the "official" one on Docker Hub ( https://hub.docker.com/_/solr/) and followed the instructions for linking and working with ZooKeeper to get SolrCloud up and running. I may have to go to the Docker forum in the end, but I thought I'd ask here first since the only thing

Re: SolrJ appears to have problems with Docker Toolbox

2017-04-08 Thread Rick Leir
Hi Mike Did you dockerize Solr yourself? I have some knowledge of Docker, and think that this question would get better help in a Docker forum. Cheers -- Rick On April 8, 2017 8:42:13 PM EDT, Mike Thomsen wrote: >I'm running two nodes of SolrCloud in Docker on Windows using Docker >Toolbox. The

SolrJ appears to have problems with Docker Toolbox

2017-04-08 Thread Mike Thomsen
I'm running two nodes of SolrCloud in Docker on Windows using Docker Toolbox. The problem I am having is that Docker Toolbox runs inside of a VM and so it has an internal network inside the VM that is not accessible to the Docker Toolbox VM's host OS. If I go to the VM's IP which is 192.168.99.100

Re: Issue with facet count

2017-04-08 Thread Alexandre Rafalovitch
Did you do a full reindex? Try completely deleting the index and redoing it from scratch (at least as a test). If you have left over documents and changed type definitions, things may get messy. If that's too hard, just index a single record into a separate collection with matching-definition and c

Re: Simple sql query with where clause doesn't work

2017-04-08 Thread Joel Bernstein
Which version of Solr are you working with? Solr 6.5 has different SQL engine the 6.0 through 6.4. Also what are field types you are working with in the where clause? Here is SQL query from the test cases in 6.4: select id, Field_i, Str_s from Collection1 where Text_t='' order by Field_i desc"

Re: Issue with facet count

2017-04-08 Thread kshitij tyagi
Hi Alex, Thanks for the response. 1. Actually everything was working fine earlier unless I made changes on a dynamic field whose facets are being created, I changed the field type to "strings" earlier I was tokenizing my field on based delimeter '_'. 2. When I made the changes and started indexi

Re: Issue with facet count

2017-04-08 Thread Alexandre Rafalovitch
What happens when you facet on a 'all document query' (q=*:*)? Are you sure your facet fields actually have the content? If they are stored, they should be returned with the query. If they are not stored, you could see what they contain in the Schema screen of the Admin UI (load tokens checkbox).

Issue with facet count

2017-04-08 Thread kshitij tyagi
Hi, I am getting zero count for all facets created by using facet.field in solr 5.1 The surprise element is that I am able to query correctly on fields, but my facet counts are returning zero count. Can anyone help me out here on what all I should check? Regards, Kshitij

Re: Using function queries for faceting

2017-04-08 Thread Georg Sorst
Hi Mikhail, thanks, JSON facet domains may actually be the key! Something like (when a user from group1 is searching): 1. Facet on price_group1 2. Facet on price for all results that do not have price_group1 field using JSON facet domain 3. Sum up the facet counts Best, Georg Mikhail Khludnev