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" wrote: > >> two key things to try (for

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 > title:(

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 l

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=MERGEINDEXES&core=core0&indexDirs=indexname java.lang.NullPointerException at org.apache.solr.update.processor.RunUpdateProcessor.(RunUpdateProcessorFactory.java:55) at org.apache.sol

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. For

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* >

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) 3.2689073 = (MATCH) weight(activity_type:NAME in 0), product of: 0.9994 = queryWeight(activity_type:NAME), product of: 3.2689075 = idf(docFreq=153, numDocs=1489) 0.30591

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 leve

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, if

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" wrote: > > Here is

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 app

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. - - - explicit - I am indexed data with that handler.In Our Schema there is a BODY Tag.In that i stored the document content. Now i am going to get some Most Interesting tirms from that content With using More Like this