Create a summary of all categories within a search.

2007-03-21 Thread Thierry Collogne
Hello, I was wondering if the following is possible. If you do a search on wikeseek, you get a summary of categories on top of the page. Look here : http://www.wikiseek.com/results.php?q=java I was wondering if it i possible to do something similar using Solr. So far the only solution I see wit

How to assure a permanent index.

2007-03-21 Thread Thierry Collogne
Hello, Currently we are using lucene for our search on intranet, but we are thinking of replacing it with solr. While indexing, we have built in a system that assures us that there will be never be no lucene index for more than a few seconds. I was wondering if solr has something like that. I me

Re: How to assure a permanent index.

2007-03-21 Thread Thierry Collogne
Sorry. Did a send by accident. This the next part of the mail. I mean if I do the following. - delete all documents from the index - add all documents - do a commit. Will this result in a temporary empty index, or will I always have results?

Re: Create a summary of all categories within a search.

2007-03-21 Thread Thierry Collogne
Thank you for the quick response. I wil take a look at it. On 21/03/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: Hi Thierry, On 3/21/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > ...I was wondering if it i possible to do something similar using Solr... Looks like y

Re: How to assure a permanent index.

2007-03-21 Thread Thierry Collogne
Thank you for the quick response. I wil take a look at it. On 21/03/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 3/21/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > ...I mean if I do the following. > > - delete all documents from the index >

Problems with special characters

2007-03-21 Thread Thierry Collogne
Hello, I am using the post.jar file to update the search indexes. Problem is that foreign characters like é, à, ... don't work correctly. Even when I use the example xml files (like utf8-example.xml), the characters don't work. Could this be a problem with the post.jar? When I open the files in

Re: Problems with special characters

2007-03-21 Thread Thierry Collogne
I have used you first workaround and this works for me. What would be the best way of building the SimplePostTool.java ? On 21/03/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 3/21/07,

Re: Problems with special characters

2007-03-21 Thread Thierry Collogne
I used the new jar file and removed -Dfile.encoding=UTF-8 from my jar call and the problem isn't there anymore. Thanks a lot for the help. On 21/03/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 3/21/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > ...What woul

Re: Problems with special characters

2007-03-21 Thread Thierry Collogne
a/browse/SOLR-20#action_12478810 Frederic Hennequin [07/Mar/07 08:27 AM] grts,m "Bertrand Delacretaz" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 21/03/2007 11:19 Please respond to solr-user@lucene.apache.org To solr-user@lucene.apache.org cc Subject Re: Problems with special char

Re: Problems with special characters

2007-03-22 Thread Thierry Collogne
" attribute in the getquerystring() method of the solrqueryImpl the resultdocs allready contain highlighting, that's why you found processHighlighting in the Resultparser good luck ! m "Thierry Collogne" <[EMAIL PROTECTED]> 21/03/2007 17:04 Please respond to solr-

Re: Problems with special characters

2007-03-22 Thread Thierry Collogne
Thanks. Did you also try using it? On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: nice one ! "Thierry Collogne" <[EMAIL PROTECTED]> 22/03/2007 09:00 Please respond to solr-user@lucene.apache.org To solr-user@lucene.apache.org cc Subject Re: Problems w

Re: How to assure a permanent index.

2007-03-22 Thread Thierry Collogne
And how would you do that? Create a new index and point solr to the new index? On 22/03/07, Mike Klaas <[EMAIL PROTECTED]> wrote: On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > well, yes indeed :) > but i do think it is easier to put up synchronisation for deleted > documents as wel

Re: How to assure a permanent index.

2007-03-22 Thread Thierry Collogne
Ok. Thanks. On 22/03/07, Mike Klaas <[EMAIL PROTECTED]> wrote: On 3/22/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > And how would you do that? Create a new index and point solr to the new > index? I don't think that is possible without restarting Solr. You coul

Re: How to assure a permanent index.

2007-03-22 Thread Thierry Collogne
Where can I find some information about snappulling? On 23/03/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : > And how would you do that? Create a new index and point solr to the new : > index? : : I don't think that is possible without restarting Solr. : Another possibility is to build th

solr-user@lucene.apache.org

2007-03-26 Thread Thierry Collogne
Hello, I have a field "sitename" that can contain a word with & character, "HR & O". Problem is when I do the following query : sitename:HR & O, I get search results that don't have HR & O in the sitename field. Is it possible that there is a problem when performing queries containg &? Thank yo

solr-user@lucene.apache.org

2007-03-26 Thread Thierry Collogne
Thank you. Using sitename:"HR & O" did the trick. On 26/03/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Mar 26, 2007, at 7:52 AM, Thierry Collogne wrote: > Hello, > > I have a field "sitename" that can contain a word with & character, > &q

How to make the search default use AND instead of OR?

2007-03-27 Thread Thierry Collogne
Hello, I have a small question.When I do a search and enter 2 words, seperated with a space (for example small business), the query is done like small OR business. So I get results containing small, business or small and business. In our case I would like only the results that contain small AND

Re: How to make the search default use AND instead of OR?

2007-03-27 Thread Thierry Collogne
Thanks. Apparently I overlooked it. On 27/03/07, thomas arni <[EMAIL PROTECTED]> wrote: You can configure that in the "schema.xml" file: Thierry Collogne wrote: > Hello, > > I have a small question.When I do a search and enter 2 words, > seperated with

Re: Snippets of indexed text

2007-03-28 Thread Thierry Collogne
It is possible. You need to pass highlighting parameters. Look here : http://wiki.apache.org/solr/HighlightingParameters Hope this helps. On 29/03/07, Pierre-Yves LANDRON <[EMAIL PROTECTED]> wrote: Hello everybody ! I wondering if there a way to get some relevant snippets (searched term

Re: Snippets of indexed text

2007-03-30 Thread Thierry Collogne
tted by me, in fact all the field is returned) http://10.208.0.215:8080/fedora/get/bml:8071/Thumb page obviously the hl parameters haven't been taken in account. I've hot the same problem with the facet.mincount parameter; facets works fine, but this parameter is not taken in a

Re: Snippets of indexed text

2007-04-02 Thread Thierry Collogne
Glad I could help you. On 02/04/07, Pierre-Yves LANDRON <[EMAIL PROTECTED]> wrote: >And this is the part for the highlighted text : > > > > > > > > > Yes it works just fine ! and it's great. :) Thanks Thierry : you were right, i didn't look for the right tag in the response. ( My prob

Sort on multiple fields not working?

2007-04-12 Thread Thierry Collogne
Hello, I am trying to do a searchquery with sorting on multiple files, but I can't get it to work. I want to search first on a date, and if results have the same date, I want them sorted by title. This is my query : q=content%3Atest;date+desc,title+asc When I try a sort just on date it

Re: Sort on multiple fields not working?

2007-04-12 Thread Thierry Collogne
Yonik, The title is of type text (tokenized). I will take a look to copy this into a field that is not tokenized. Hoss, You're right. I think the time in the date might be different. I need to check this. Thank you both for the suggestions. On 12/04/07, Chris Hostetter <[EMAIL PROTECTED]> wr

Re: Re[2]: add and delete docs at same time

2007-05-25 Thread Thierry Collogne
We always do a full delete before indexing, this is because for us that is the only way to be sure that there are no documents in the index that don't exist anymore. So delete all, than add all. To use the delete all, we did the following. We added a field called dummyDelete. This field always c

Solr on JBOSS 4.0.3

2007-05-31 Thread Thierry Collogne
Hello, We are trying to run Solr on JBOSS 4.0.3, and are heaving an issue. When we deploy the war and start our server we get a ExceptionInInitializerError. This is part of the stacktrace: Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the

Re: Solr on JBOSS 4.0.3

2007-06-01 Thread Thierry Collogne
Thank you for the suggestion. I downloaded a newer version of JBOSS and then copied the files from the JBOS_HOME\lib\endorsed to the WEB-INF\lib folder of Solr. That solved it. On 31/05/07, Daniel Naber <[EMAIL PROTECTED]> wrote: On Thursday 31 May 2007 09:58, Thierry Collogne wrote:

Is this solr 1.2 a final version?

2007-06-07 Thread Thierry Collogne
Hello, I was just downloading solr and noticed that there is a 1.2 version available. Is this the final 1.2 version? Is this the version that is to be used? Thank you, Thierry

Boosting in version 1.2

2007-06-08 Thread Thierry Collogne
Hello, Our documents contain three fields. title, keywords, content. What we want is to give priority to the field keywords, than title and last content. So we did the following in our xml file that is to be indexed we put the following letters This is a test foobar This is a test lett

How does HTMLStripWhitespaceTokenizerFactory work?

2007-06-08 Thread Thierry Collogne
Hello, I am trying to use the solr.HTMLStripWhitespaceTokenizerFactory analyzer with no luck. I have a field content that contains the following When I do a search I get the following test link post po_1_NL post This is a test Is

Re: How does HTMLStripWhitespaceTokenizerFactory work?

2007-06-11 Thread Thierry Collogne
Ok. Is it possible to get back the content without the html tags? On 08/06/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 6/8/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > I am trying to use the solr.HTMLStripWhitespaceTokenizerFactory analyzer > with no luck. [...

Re: How does HTMLStripWhitespaceTokenizerFactory work?

2007-06-11 Thread Thierry Collogne
Ok. Thanks for the clarification. We will do the stripping before the indexing. On 11/06/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Ok. Is it possible to get back the content without the html tags? Solr never does anything to modify the "stored" value of a field, so you'd really need to

Re: Index time boost is not working

2007-06-14 Thread Thierry Collogne
How do you browse the indexes? On 14/06/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: Is your field defined with omitNorms="true" by any chance? Otis -- Lucene Consulting -- http://lucene-consulting.com/ - Original Message From: Madhan Subhas <[EMAIL PROTECTED]> To: solr-user@luce

Re: Solr 1.2 HTTP Client for Java

2007-06-14 Thread Thierry Collogne
I tried using that client, but I didn't get any good results while searching for worst with special characters. I have also searched for documentation for that client, but didn't find any. Does anyone know where to find documentation concerning the java client? On 14/06/07, Will Johnson <[EMAIL

Re: Solr 1.2 HTTP Client for Java

2007-06-15 Thread Thierry Collogne
now. It should be ready to use (test!) later today... Once it is in /trunk, it will be easy for us to know what version of what we are talking about and can definitely help work through any issues. good good ryan Thierry Collogne wrote: > I tried using that client, but I didn't get any go

Re: Solr 1.2 HTTP Client for Java

2007-06-15 Thread Thierry Collogne
Just to be clear. This client is compatible with the 1.2 release of solr? On 15/06/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: I have a problem at my work that I am unable to checkout sources from servers outside our network. I have managed to save the java sources of the client,

Re: Solr 1.2 HTTP Client for Java

2007-06-15 Thread Thierry Collogne
Nice. Can someone please send me an already build version of the client with the required libraries? I am unable to check out the source code at my work. Thank you. On 15/06/07, rubdabadub <[EMAIL PROTECTED]> wrote: On 6/15/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > J

Re: Solr 1.2 HTTP Client for Java

2007-06-15 Thread Thierry Collogne
egards, Daniel On 15/6/07 09:39, "Thierry Collogne" <[EMAIL PROTECTED]> wrote: > Nice. Can someone please send me an already build version of the client with > the required libraries? I am unable to check out the source code at my work. > > Thank you. > > On 15/06/

Re: can't post.sh/post.jar

2007-06-17 Thread Thierry Collogne
Michael, You can start the process with more memory assigned to your JVM Like this : java -Xms512m -Xmx512m -jar post.jar *.xml This will start the process with an initial memory of 512 MB and a maximum memory use of 512 MB. This is a little explanation about the memory parameters -Xm

Bug in DismaxRequestHanlder?

2007-06-18 Thread Thierry Collogne
Hello, I think I have uncovered a bug. When I run the following query : http://localhost:8666/solr/select/?q=test+lettre&version=2.2&start=0&rows=10&indent=on&qt=dismax I get the following exception : HTTP Status 500 - For input string: "" java.lang.NumberFormatException: For input string: "

Re: Bug in DismaxRequestHanlder?

2007-06-18 Thread Thierry Collogne
Thanks! Removing the entry in the config file fixed it. Could please explain to me what the property does exactly? It is not clear to me. On 19/06/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : When I run the following query : : : http://localhost:8666/solr/select/?q=test+lettre&version=2.2&s

Re: Bug in DismaxRequestHanlder?

2007-06-19 Thread Thierry Collogne
Ok. Thanks. I will read up on it. On 19/06/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Thanks! Removing the entry in the config file fixed it. : Could please explain to me what the property does exactly? It is not clear : to me. I've never had much of a chacne to write really good docs o

How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Thierry Collogne
Hello, I have a couple questions about the DismaxRequestHandler. I am using it, because I want to use the boosting mechanism, but I can't get the following to work : We also have an advanced search where users can search for : * An exact combination of words * All the words * One

Re: How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Thierry Collogne
nation (phrase), all of the words or one are possible: you can use the mm parameter (100% and 1 for your case). Part of a word is not possible, nor explicit query fields in the q parameter. hth Paul On 7/2/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > Hello, > > I have a coupl

How to do a wildcard search in solr?

2007-07-02 Thread Thierry Collogne
Hello, I am trying to do a wildcard search in Solr. In lucene I could pass the query post* and get all the results containg a word beginning with post. When I do the same in Solr, it doesn't work. Adding the wildcard gives me less results, this should be the opposite. Do I need to configure the

Add 2 stemmers to a textfield?

2007-07-09 Thread Thierry Collogne
Hello, Our index contains 2 languages : dutch and french. I was wondering if it is possible to add 2 solr.SnowballPorterFilterFactory filters to one text field like this : Also can someone explain to me, why

Re: boost field without dismax

2007-07-24 Thread Thierry Collogne
U can also add the boosting to the field at indextime. For example foobar And then u can do the query firstname:foobar OR lastname:foobar The above query will then boost the documents where foobar is in the lastname Hope this helps, Thierry On 24/07/07, Brian Whitman <[EMAIL PROTECTED]> wr

Re: boost field without dismax

2007-07-24 Thread Thierry Collogne
Here you can find some explanation http://wiki.apache.org/solr/UpdateXmlMessages On 25/07/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: U can also add the boosting to the field at indextime. For example foobar And then u can do the query firstname:foobar OR lastname:foobar The

Re: Java Heap Space

2007-07-30 Thread Thierry Collogne
start.jar you should use something like java -Xmx512M -Xms512M -jar start.jar This will start the server with an initital memory of 512 MB and a maximum of 512 MB. If that isn't enough, you can use higher values. Hope this helps, Thierry Collogne On 27/07/07, Jae Joo <[EMAIL PROTECTED]> w

Re: Solr and JBOSS Integration

2007-08-27 Thread Thierry Collogne
Hi, The method works, but has the drawback that you need to configure your solr home inside the war of the web application. What we did is the following: Add this to the jboss-service.xml http://www.w3.org/2001/XMLSchema-instance"; xmlns:jndi="urn:jboss:jndi-binding-

Re: Indexing HTML

2007-08-27 Thread Thierry Collogne
I think you can use the HTMLStripWhitespaceTokenizerFactory. Look here : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-031d5d370010955fdcc529d208395cd556f4a73e I hope this helps On 27/08/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: > > Hello > > I'm trying to index individu

Re: How to use solrj ?

2007-08-30 Thread Thierry Collogne
I don't think the client can be run directly. We have developed a small application that uses the client as an interface to solr. On 30/08/2007, Teruhiko Kurosaka <[EMAIL PROTECTED]> wrote: > > Can anyone tell me how to use the Java client ? > I downloaded the complete source from SVN solr trunk a

Strange behavior when searching with accents

2007-09-20 Thread Thierry Collogne
Hello, We are experiencing some strange behavior while searching with words containing accents. We are using two examples "rené" and "matthé" When we search for "rené" or for "rene", we get the same results, so that is ok. But when we search for "matthé" or for "matthe", we get two totally differ

Re: Strange behavior when searching with accents

2007-09-20 Thread Thierry Collogne
. On 20/09/2007, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > On 9/20/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > > > ..when we search for "matthé" or for "matthe", we get two totally > > different results > > The analyze

Re: Strange behavior when searching with accents

2007-09-20 Thread Thierry Collogne
that the second screenshost doesn"t give any matches. Can someone take a look at them and perhaps clarify why it does not work? Thank you. On 20/09/2007, Thierry Collogne < [EMAIL PROTECTED]> wrote: > > We are using this

Re: Strange behavior when searching with accents

2007-09-20 Thread Thierry Collogne
Thorsten, Thank you very much. Moving the up in the chain fixed it. On 20/09/2007, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-09-20 at 14:01 +0200, Thierry Collogne wrote: > > I have entered the the matthé term in the the analyzer, but as far as I > &g

Re: Strange behavior when searching with accents

2007-09-20 Thread Thierry Collogne
We are indexing both french and dutch. I will take a look at SnowballPorterFilterFactory later, but thanks for the advice. On 20/09/2007, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > On 9/20/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: > > > ...Thank you very