Spatial Search response time complexity

2012-10-09 Thread TJ Tong
Hi all, Does anyone know the Solr (lucene)spatial search time complexity, such as geofilt on LatLonType fields? Is it logN? Thanks! TJ -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-response-time-complexity-tp4012801.html Sent from the Solr - User mailing

Re: Urgent! Highlighting not working as expected

2012-05-15 Thread TJ Tong
Thanks, Jack! I think you are right. But I also copied cr_firstname to text, I assumed Solr would highlight cr_firstname if there is a match. I guess the only solution is to copy all field to another field which is not tokenized. Yes, it is "firstname", good catch! Thanks again! TJ -- View this

Re: Highlight feature

2012-05-15 Thread TJ Tong
I am also working on highlighting. I don't think so. And the ids in the highlighting part are the ids of the docs retrieved. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-feature-tp3983875p3983887.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Urgent! Highlighting not working as expected

2012-05-15 Thread TJ Tong
Hi Jack, Thanks for your reply. I did not specify dismax when query with highlighting enabled: q=text:"G-Money"&hl=true&hl.fl=*, that was the whole query string I sent. What puzzled me is that the "string" field "cr_firstname" was copied to text, but it was not highlighted. But if I use q=cr_frist

Urgent! Highlighting not working as expected

2012-05-14 Thread TJ Tong
Dear all, I queried Solr (3.5) with this: q=text:"G-Money"&hl=true&hl.fl=*, where text is a "text" field and all the other fields were copied to it. I got three records returned, however, only one field (also "text" field) was highlighted: G-MONEY HETZEL But the other two also have match