Re: problem with tutorial

2015-03-05 Thread gaohang wang
do you publish you solr in tomcat?which is the tomcat port?

2014-12-16 15:45 GMT+08:00 Xin Cai :

> hi Everyone
> I am a complete noob when it comes to Solr and when I try to follow the
> tutorial and run Solr I get the error message
>
> "Waiting to see Solr listening on port 8983 [-]  Still not seeing Solr
> listening on 8983 after 30 seconds!"
>
> I did some googling and all I found was instruction for removing grep
> commands which doesn't sound right to me...I have checked my ports and
> currently I don't have any service listening on port 8983 and my firewall
> is not on, so I am not sure what is happening. Any help would be
> appreciated. Thanks
>
> Xin Cai
>


Re: Labels for facets on Velocity

2015-03-06 Thread gaohang wang
you can write a macro in you velocity template,which is used to show your
query response

2015-03-06 1:14 GMT+08:00 Henrique O. Santos :

> Hello,
>
> I’ve been trying to have a pretty name for my facets on Velocity Response
> Writer. Do you know how can I do that?
>
> For example, suppose that I am faceting field1. My query returns 3 facets:
> uglyfacet1, uglyfacet2 and uglyfacet3. I want to show them to the user a
> pretty name, like "Pretty Facet 1", "Pretty Facet 2" and "Pretty Facet 3".
>
> The thing is that linking on velocity should still work, so the user can
> navigate the results.
>
> Thank you.
> Henrique.


Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-06 Thread gaohang wang
do you use solrcloud?maybe your suggestion is not support distribute

2015-03-04 22:39 GMT+08:00 Nitin Solanki :

> Hi..
>I have a term("who") where original frequency of "who" is 191 but
> when I get suggestion of "who" it gives me 90. Why?
>
> Example :
>
> *Original Frequency* comes like:
>
> "spellcheck":{
> "suggestions":[
>   "who",{
> "numFound":1,
> "startOffset":1,
> "endOffset":4,
> "origFreq":*191*,
>   "correctlySpelled",false]}}
>
> While In *Suggestion*, it gives like:
>
> "spellcheck":{
> "suggestions":[
>   "whs",{
> "numFound":1,
> "startOffset":1,
> "endOffset":4,
> "origFreq":0,
> "suggestion":[{
> "word":"who",
> "freq":*90*}]},
>   "correctlySpelled",false]}}
>
>
>
> Why it is so?
>
> I am using StandardTokenizerFactory with ShingleFilterFactory in
> Schema.xml..
>