how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

Hi everyone,
I really need your help

this is the default address that I got from the solr:
http://172.16.17.126:8983/solr/

the question is how to change that path to be:
http://172.16.17.126:8983/search/

Please I really need your help
thanks a lot before



Re: how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

firstly, I really appreciate your respond to my question Ken

I'm using Tomcat on Linux Debian
I can't find the solr.xml in  \program 
files\apache...\Tomcat\conf\catalina\localhost

there are only 2 files in localhost folder:
host-manager.xml and manager.xml

any solutions?

On 7/22/2010 10:41 AM, kenf_nc wrote:

Your environment may be different, but this is how I did it. (Apache Tomcat
on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service

   





Re: how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

wowww...amazing Girish !
the solution that you gave is very simple but 100% answering my problem
thanks a lot Girish !

On 7/22/2010 11:43 AM, Girish Pandit wrote:
it seems like you are using Default server (Jetty with port 8983), 
also it looks like you are trying to run it with command "java -jar 
start.jar" if so then under same directory there is another directory 
called "webapps" go in there, rename "solr.war" to "search.war" bounce 
server and you should be good to go!



Eben wrote:

firstly, I really appreciate your respond to my question Ken

I'm using Tomcat on Linux Debian
I can't find the solr.xml in  \program 
files\apache...\Tomcat\conf\catalina\localhost

there are only 2 files in localhost folder:
host-manager.xml and manager.xml

any solutions?

On 7/22/2010 10:41 AM, kenf_nc wrote:
Your environment may be different, but this is how I did it. (Apache 
Tomcat

on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service












Re: how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

Hi Wong,
I'm using Default server (Jetty with port 8983)
Girish solution already solve my problem
thanks for your response Wong :)

On 7/22/2010 11:57 AM, K Wong wrote:

Check: /var/lib/tomcat5.5/conf/Catalina/localhost/

Are you using Tomcat on a custom port (the default tomcat port is
8080)? Check your ports ($ sudo netstat -nlp)

Maybe try searching the file system for the solr.xml file?

$ sudo find / -name solr.xml

Hope this helps.

K


On Wed, Jul 21, 2010 at 8:22 PM, Eben  wrote:
   

firstly, I really appreciate your respond to my question Ken

I'm using Tomcat on Linux Debian
I can't find the solr.xml in  \program
files\apache...\Tomcat\conf\catalina\localhost
there are only 2 files in localhost folder:
host-manager.xml and manager.xml

any solutions?

On 7/22/2010 10:41 AM, kenf_nc wrote:
 

Your environment may be different, but this is how I did it. (Apache
Tomcat
on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service


   



 





faceting on very long strings

2014-11-18 Thread English, Eben
Is there any kind of general rule-of-thumb character limit in regards to 
faceting on very long strings?

I have a string field that I want to facet on (contains geographic data 
structured as a GeoJSON Feature), where the length is typically around 220 
characters. Is this too long to facet on, performance-wise?

If this (~220 chars) is too long, is there some way to hash the long string and 
copyField for better performance, but in a way that the original string values 
can be returned as facets in the response?

I know this question is a bit vague, and I would imagine mileage will vary 
depending on the specifics of the situation. I anticipate the entire index to 
include about 2 million documents, with possibly about 200,000 unique values 
for this GeoJSON string field.

Thanks!

Eben English