Handling space variations in queries - matching 'thunderbolt' for query 'thunder bolt'

2011-07-30 Thread Prasanna R
We use a dismax handler with mm 1 in our Solr installation. I have a fieldType defined that creates shingles to handle space variations in the input strings and user queries. This fieldType can successfully handle cases where the query is 'thunderbolt' and the document contains the string 'thunder

Re: slow highlighting because of stemming

2011-07-30 Thread Orosz György
Hi, Thanks for the answer! I am doing some logging about stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Anyway my docments are not really large, just a few

fragsize for highlighting

2011-07-30 Thread Frank Chiu
Hi, I'm setting hl.fragsize = 10 in all my highlighting fragmenters but I'm still getting snippets being returned with 10 characters (I think I'm getting the full text back). I also tried specifying hl.fragsize in the querystring, but the same thing happens. Any idea why fragsize is not getting

Re: slow highlighting because of stemming

2011-07-30 Thread Ahmet Arslan
I am doing some logging about stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Highlighting do re-analyze the text being highlighted. Anyway my docments are

Re: fragsize for highlighting

2011-07-30 Thread Ahmet Arslan
Hi, I'm setting hl.fragsize = 10 in all my highlighting fragmenters but I'm still getting snippets being returned with 10 characters (I think I'm getting the full text back).  I also tried specifying hl.fragsize in the querystring, but the same thing happens.  Any idea why fragsize is not

Re: Autocomplete with Solr 3.1

2011-07-30 Thread O. Klein
According to http://www.lucidimagination.com/blog/2011/04/08/solr-powered-isfdb-part-9/ it should be possible to set spellcheck.maxCollations to 5. This doesn't work for me in 4.0, nor does it work with the regular spellchecker, unless I set spellcheck.maxCollationTries to a value like 10. Then

Re: slow highlighting because of stemming

2011-07-30 Thread Michael Sokolov
On 7/30/2011 3:46 AM, Orosz György wrote: Hi, Thanks for the answer! I am doing some logging about stemming, and what I can see is that a lot of tokens are stemmed for the highlighting. It is the strange part, since I don't understand why does any highlighter need stemming again. Consider that

Re: fragsize for highlighting

2011-07-30 Thread Frank Chiu
I'm a bit of a newbie- adding echoParams=all to my querystring isn't yielding additional info (does solr 1.4 support it?). Here's a query (also tried adding hl.fragsize=10):

Re: Solr Incremental Indexing

2011-07-30 Thread Alexei Martchenko
I always have a field in my databases called datelastmodified, so whenever I update that record, i set it to getdate() - mssql func - and then get all latest records order by that field. 2011/7/29 Mohammed Lateef Hussain mohammedlateefh...@gmail.com Hi Need some help in Solr incremental

Re: fragsize for highlighting

2011-07-30 Thread Ahmet Arslan
I suspected that you set fragsize twice, but from what you paste thats not the case. e.g. f.description_texts.hl.fragsize=100hl.fragsize=10 However the response you pasted is not coming from that URL. It will be better to see compatible URL and response. echoParams=all displays all

Re: fragsize for highlighting

2011-07-30 Thread Frank Chiu
I ended up removing the EdgeNGramFilterFactory and the highlighting seems to work okay. Thanks for your help, echoParams is useful. On Sat, Jul 30, 2011 at 2:07 PM, Ahmet Arslan iori...@yahoo.com wrote: I suspected that you set fragsize twice, but from what you paste thats not the case.

Solr request filter and indexing process

2011-07-30 Thread 于浩
Hello,Dear friends, I have got an problem in developing with solr. In My Application ,It must sends multiple query to solr server after the page is loaded. Then I found a problem: some request will return statusCode:0 and QTime:0, The solr has accepted the request, but It does not return a