Re: Solr collection alias - how rank is affected

2015-10-29 Thread Ronald Xiao
Using global IDF, if data is not even On Tuesday, October 27, 2015, Markus Jelsma wrote: > Hello - regarding fairly random/smooth distribution, you will notice it > for sure. A solution there is to use distributed collection statistics. On > top of that you might want to rely on docCount, not ma

Re: Generating a document by group count and displaying the result

2015-09-16 Thread Ronald Xiao
Solr Grouping is unlike to generate the response like that directly. Solr group response result is grouped by field, while you want FLAT format result. Flattern result self should be easy task, but may cause another problem, how to control Navigation/Pagination behavior? that depends on your appli

filed type for text search

2012-07-24 Thread Xiao Li
I have used Solr 3.4 for a long time. Recently, when I upgrade to Solr 4.0 and reindex the whole data, I find that the fields which are specified as string type can not be searched by q parameter. If I just change the type to text_general, it works. So my question is for Solr 4.0, must I set the

Re: Customizing Solr score with DixMax query

2012-02-27 Thread Xiao
Yes! Thank you! I also get this in this morning from Sematext Blog. Edismax " Supports the “boost” parameter.. like the dismax bf param, but multiplies the function query instead of adding it in" http://blog.sematext.com/2010/01/20/solr-digest-january-2010/ -- View this message in context: htt

Customizing Solr score with DixMax query

2012-02-26 Thread Xiao
In my application logic, I want to implement the ranking (scoring) logic as follows: score = "Solr relecency score" * a_special_field_value. I tried to use DixMax to do this. My query statement is q={!type=dixmax qf='title content' bf=field1}data. However, when I open the debugquery option, I fi

RE: add new fields to existing index

2008-06-10 Thread Kevin Xiao
-Original Message- From: Kevin Xiao [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2008 9:32 AM To: solr-user@lucene.apache.org Subject: add new fields to existing index Hi, We have a huge existing index (~40G), and we decided to add more fields on the top of it from a different source. Say, I

add new fields to existing index

2008-06-07 Thread Kevin Xiao
Hi, We have a huge existing index (~40G), and we decided to add more fields on the top of it from a different source. Say, I have a index with UniqueKey, FieldA, FieldB, FieldC, I want to add FieldD to it, so I create a document with UniqueKey, FieldD and do a solr commit. By doing that is it g

highlighting fragment

2008-06-05 Thread Kevin Xiao
Hi, I have a question about highlighting fragment. I set hl.fragsize to 100, but the return is cut off from a middle of a sentence with correct search term highlighting though. Is there a way to make the cutoff to the beginning of a sentence? Set some flag? How does highlighting cutoff work any

large data to index

2008-06-01 Thread Kevin Xiao
Hi, We have large data to index, index size is about 40 G and getting bigger. We are try to figure out a way to speed up indexing. 1. Single solr server, multiple indexers, which will speed up document parsing time, but I am not sure if single solr server can handle multiple requests wit

highlighting and hyperlink

2008-05-30 Thread Kevin Xiao
Hi I am not sure if there are any discussions about this, I could not find the search function in mailing list archives. :) Anyway, here is my problem: In my document, I have a hyperlink, say, breast cancer, but when I applied solr highlighting on search term 'cancer', that hyperlink becomes: c

RE: solr highlighting

2008-05-22 Thread Kevin Xiao
Just in case anyone wants to know: I figured out that you have to set uniqueKey stored="true" for highlighting to work. Thanks for everyone's help. Thanks, - Kevin -Original Message----- From: Kevin Xiao [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 11:22 P

RE: solr highlighting

2008-05-22 Thread Kevin Xiao
8983/solr/select?indent=on&version=2.2&q=solr&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl=on&hl.fl=features -Mike On 14-May-08, at 9:39 AM, Kevin Xiao wrote: > Thanks Christian. I did try many options indicated in wiki, didn't

RE: solr highlighting

2008-05-14 Thread Kevin Xiao
. ./post.sh *.xml 4. execute a query: http://localhost:8983/solr/select?indent=on&version=2.2&q=solr&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl=on&hl.fl=features -Mike On 14-May-08, at 9:39 AM, Kevin Xiao wrote: > Thanks Chri

RE: solr highlighting

2008-05-14 Thread Kevin Xiao
ogler [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 5:55 AM To: solr-user@lucene.apache.org Subject: Re: solr highlighting On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote: > Hi there, > > I am new to solr. I want search term to be highlighted on the results. I > thought it is p

solr highlighting

2008-05-13 Thread Kevin Xiao
Hi there, I am new to solr. I want search term to be highlighted on the results. I thought it is pretty simple, but could not make it work. I read a lot of solr documents and mail archives (I wish there is a search function for this, we are talking about solr, aren’t we? ☺). Solrconfig.xml

RE: solr to handle special charater

2008-02-26 Thread Kevin Xiao
, but it doesn't say anything about just '+' or '-' characters. Does anyone know a workaround before I stripped off '+'/'-' by myself? Thanks, - Kevin -Original Message- From: Kevin Xiao [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26,

solr to handle special charater

2008-02-26 Thread Kevin Xiao
Hi there, I am new to Solr. I used the following analyzer - I tried both WhitespaceTokenizerFactory and StandardTokenizerFactory, but when I search "xyz - abc", it didn't returns anything, ("xyz abc" returns "xyz - abc" though). I used the tokenizer/filter on both index and query time. Is that

RE: page rank

2007-06-22 Thread David Xiao
> > > > It can be used to sort (&sort=numberField desc) or to boost your score (it > will depend on the RequestHandler you are going to use). > > In terms of score which RequestHandler are you planning to use? > If using dismax you can define a boost function: > r

page rank

2007-06-20 Thread David Xiao
Hello folks, I am using solr to index web contents. I want to know is that possible to tell solr about rank information of contents? For example, I give each content an integer number. And I hope solr take this number into consideration when it generates search result. (larger number, mo

distributed search

2007-06-03 Thread David Xiao
Hello all, Is there distributed support in Solr search engine? For example install solr instance on different server and have them load balanced. Anyway, any suggestion/experience about Solr distributed search topic is appreciated. Regards, David

Crawler for solr

2007-05-11 Thread David Xiao
Hello, I am using crawler to index and search some intranet webpages which need authorization. I wrote my own crawler for this kind of needs. But with the requirement is evolving, I need another crawler for external webpages (on internet) too, so I am looking for a generic crawler that can

RE: Solr concurrent commit not updated

2007-05-11 Thread David Xiao
not adddoc" Anyone have similar issue? -Original Message- From: James liu [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 11:32 AM To: solr-user@lucene.apache.org Subject: Re: Solr concurrent commit not updated u should know id is unique number. 2007/5/11, David Xiao &l

Solr concurrent commit not updated

2007-05-10 Thread David Xiao
Hello all, I have tested by use post.sh in example directory to add xml documents into solr. It works when I add one by one. But when I have a lot of .xml file to be posted (say about 500-1000 files) and I wrote a shell script to call post.sh one by one. I found those xml files are not sear