Dynamic facets during runtime

2017-05-11 Thread Jeyaprakash Singarayar
Hi,

Our application has a facet select admin screen UI that would allow the
users to add/update/delete the facets that has to be returned from Solr.

Right now we have the facet fields defined in the defaults of
requestHandler.

So if a user wanted a new facet, I know sending that newly selected facet
with the query would override the list in the solrconfig.xml

If there any better way rather than making all the facets sent through
querytime.

Thanks,
Jeyaprakash


Get config from Zookepper

2016-02-20 Thread Jeyaprakash Singarayar
I have created a Zookeeper ensemble with 3 zookeepers and 3 shards and with
a replication factor of 2. Everything works fine and I'm using version
5.4.1.

I have upload the basicConfig set that comes with the distribution and made
all the field addition and modification through the Schema API.

Now I need to create another independent cluster with the exact same
config. Where can i find the uploaded config files in the zookeeper server?

Thanks


Re: Running Solr on port 80

2016-02-10 Thread Jeyaprakash Singarayar
That ok if I'm using it in local, but I'm doing it in a production based on
the below page

https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production



On Thu, Feb 11, 2016 at 12:58 PM, Binoy Dalal <binoydala...@gmail.com>
wrote:

> Why don't you directly run solr from the script provided in {SOLR_DIST}\bin
> ./solr start -p 8984
>
> On Thu, 11 Feb 2016, 12:56 Jeyaprakash Singarayar <jpsingara...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm trying to install solr 5.4.1 on CentOS. I know that while installing
> > Solr as a service in the Linux we can pass -p  to shift the
> > app to host on that port.
> >
> >  ./install_solr_service.sh solr-5.4.1.tgz -p 8984 -f
> >
> > but still it shows as it is hosted on 8983 and not on 8984. Any idea?
> >
> > Waiting up to 30 seconds to see Solr running on port 8983 [/]
> > Started Solr server on port 8983 (pid=33034). Happy searching!
> >
> > Found 1 Solr nodes:
> >
> > Solr process 33034 running on port 8983
> > {
> >   "solr_home":"/var/solr/data",
> >   "version":"5.4.1 1725212 - jpountz - 2016-01-18 11:51:45",
> >   "startTime":"2016-02-11T07:25:03.996Z",
> >   "uptime":"0 days, 0 hours, 0 minutes, 11 seconds",
> >   "memory":"68 MB (%13.9) of 490.7 MB"}
> >
> > Service solr installed.
> >
> --
> Regards,
> Binoy Dalal
>


Running Solr on port 80

2016-02-10 Thread Jeyaprakash Singarayar
Hi,

I'm trying to install solr 5.4.1 on CentOS. I know that while installing
Solr as a service in the Linux we can pass -p  to shift the
app to host on that port.

 ./install_solr_service.sh solr-5.4.1.tgz -p 8984 -f

but still it shows as it is hosted on 8983 and not on 8984. Any idea?

Waiting up to 30 seconds to see Solr running on port 8983 [/]
Started Solr server on port 8983 (pid=33034). Happy searching!

Found 1 Solr nodes:

Solr process 33034 running on port 8983
{
  "solr_home":"/var/solr/data",
  "version":"5.4.1 1725212 - jpountz - 2016-01-18 11:51:45",
  "startTime":"2016-02-11T07:25:03.996Z",
  "uptime":"0 days, 0 hours, 0 minutes, 11 seconds",
  "memory":"68 MB (%13.9) of 490.7 MB"}

Service solr installed.


Re: Solr partial date range search

2016-01-27 Thread Jeyaprakash Singarayar
Hi Sriram,

Add the tag 'propertyWriter' directly under the 'dataConfig' tag. The
property "last_index_time" is converted to text and stored in the
properties file and is available for the next import as the variable
'${dih.last_index_time}' . This tag gives control over how this properties
file is written.

Its available in all 4.X versions.

Hope it helps.

On Thu, Jan 28, 2016 at 1:41 AM, vsriram30  wrote:

> I am actually using one such component to take in the partial dates like
> 2015-10 and create full UTC dates out of it and query using that. But since
> I was checking on that wiki about partial date search and since I couldn't
> find that it is available only from 5.x, I was curious to know if by some
> way I can make it work in 4.6.1 without need of my custom component.
>
> Thanks,
> Sriram
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-partial-date-range-search-tp4253226p4253649.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Solr partial date range search

2016-01-27 Thread Jeyaprakash Singarayar
Hi Sriram,

Add the tag 'propertyWriter' directly under the 'dataConfig' tag. The
property "last_index_time" is converted to text and stored in the
properties file and is available for the next import as the variable
'${dih.last_index_time}' . This tag gives control over how this properties
file is written.

Its available in all 4.X versions.

Hope it helps.

On Thu, Jan 28, 2016 at 1:41 AM, vsriram30  wrote:

> I am actually using one such component to take in the partial dates like
> 2015-10 and create full UTC dates out of it and query using that. But since
> I was checking on that wiki about partial date search and since I couldn't
> find that it is available only from 5.x, I was curious to know if by some
> way I can make it work in 4.6.1 without need of my custom component.
>
> Thanks,
> Sriram
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-partial-date-range-search-tp4253226p4253649.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>