Re: how to do exact serch with solrj

2009-05-31 Thread Jianbin Dai
I tried, but seems it's not working right. --- On Sat, 5/30/09, Avlesh Singh avl...@gmail.com wrote: From: Avlesh Singh avl...@gmail.com Subject: Re: how to do exact serch with solrj To: solr-user@lucene.apache.org Date: Saturday, May 30, 2009, 10:56 PM query.setQuery(title:hello the

Re: how to do exact serch with solrj

2009-05-31 Thread Avlesh Singh
You need exact match for all the three tokens? If yes, try query.setQuery(title:\hello the world\); Cheers Avlesh On Sun, May 31, 2009 at 12:12 PM, Jianbin Dai djian...@yahoo.com wrote: I tried, but seems it's not working right. --- On Sat, 5/30/09, Avlesh Singh avl...@gmail.com wrote:

Re: how to do exact serch with solrj

2009-05-31 Thread Jianbin Dai
That's correct! Thanks Avlesh. --- On Sat, 5/30/09, Avlesh Singh avl...@gmail.com wrote: From: Avlesh Singh avl...@gmail.com Subject: Re: how to do exact serch with solrj To: solr-user@lucene.apache.org Date: Saturday, May 30, 2009, 11:45 PM You need exact match for all the three tokens?

Re: When searching for !...@#$%^*() all documents are matched incorrectly

2009-05-31 Thread Sam Michaels
As per relevance, no results should be returned. But all the results are returned in alphabetical order. Walter Underwood wrote: I'm really curious. What is the most relevant result for that query? wunder On 5/30/09 7:35 PM, Ryan McKinley ryan...@gmail.com wrote: two key things to

Re: When searching for !...@#$%^*() all documents are matched incorrectly

2009-05-31 Thread Sam Michaels
Upon some further experimentation, I found out that even @ matches all the documents. However when I append the wildcard * to @ (@*) then there is no match... SM Sam Michaels wrote: Hi, I'm running Solr 1.3/Java 1.6. When I run a query like - (activity_type:NAME) AND

User search in Facebook like

2009-05-31 Thread Vincent Pérès
Hello, I built a feature which allow users to search for other user thanks to a dynamic text box. Like facebook, when you search for your friends, the name is display in a javascript dropdown list with a small picture. But I'm not completely happy with the search... I'm using a standard search

NPE on MERGEINDEXES

2009-05-31 Thread Koji Sekiguchi
Maybe I did something wrong, I got NPE when trying to MERGEINDEXES: http://localhost:8983/solr/admin/cores?action=MERGEINDEXEScore=core0indexDirs=indexname java.lang.NullPointerException at org.apache.solr.update.processor.RunUpdateProcessor.init(RunUpdateProcessorFactory.java:55) at

Re: User search in Facebook like

2009-05-31 Thread Dietrich Featherston
try searching for matches where the name starts with whatever the user has entered so far with a wildcard ?q=vinc* Are you always going to be searching for names? If so you could see if the user has entered two terms and suffix each with a wildcard to get potentially more relevant searches.

Re: User search in Facebook like

2009-05-31 Thread Vincent Pérès
Thanks very much, that's solve my problem ! Now I see another question : how can I manage the lower/upper cases in my search? Thanks ! Dietrich Featherston-2 wrote: try searching for matches where the name starts with whatever the user has entered so far with a wildcard ?q=vinc* Are

Re: When searching for !...@#$%^*() all documents are matched incorrectly

2009-05-31 Thread Sam Michaels
Here is the output from the debug query when I'm trying to match the String @ against Bathing (should not match) str name=GLOM-1 3.2689073 = (MATCH) weight(activity_type:NAME in 0), product of: 0.9994 = queryWeight(activity_type:NAME), product of: 3.2689075 = idf(docFreq=153,

Re: Java OutOfmemory error during autowarming

2009-05-31 Thread Chris Harris
Solr offers no configuration for FieldCache, neither in solrconfig.xml nor anywhere else; rather, that cache gets populated automatically in the depths of Lucene when you do a sort (or also apparently, as Yonik says, when you use a field in a function query). From the wiki: 'Lucene has a low

Re: User search in Facebook like

2009-05-31 Thread rswart
Hi Vincent, If I recall correctly a wildcard query does not use any of the filters defined in your fieldtype (search the news group for this). So using a LowerCaseFilterFactory does not work and you'll need to do the to lower case transform yourself on the client side (javascript?). However,

Re: When searching for !...@#$%^*() all documents are matched incorrectly

2009-05-31 Thread Walter Underwood
Use the [analysis] link on the Solr admin UI to get more info on how this is being interpreted. However, I am curious about why this is important. Do users enter this query often? If not, maybe it is not something to spend time on. wunder On 5/31/09 2:56 PM, Sam Michaels mas...@yahoo.com wrote:

Using Chinese / How to ?

2009-05-31 Thread Fer-Bj
Hello, is there any how to already created to get me up using SOLR 1.3 running for a chinese based website? Currently our site is using SOLR 1.2, and we tried to move into 1.3 but we couldn't complete our reindex as it seems like 1.3 is more strict when it comes to special chars. I would

Problem Regarding More Like This Handler

2009-05-31 Thread deepak agrawal
Hi, I am using Solr.In that i am using Standered Request handler. - requestHandler name=standard class=solr.SearchHandler default=true - !-- default values for query parameters -- - lst name=defaults str name=echoParamsexplicit/str - !-- int name=rows10/int str name=fl*/str