How to store a HashSet in the index?

2007-12-10 Thread Rishabh Joshi
Hi, Can anyone help me on, as to how I can go about efficiently indexing (actually, storing in the index) and retrieving, a HashSet object, which contains multiple string arrays? I just want to store the HashSet in the index, and not search on it. The HashSet should be returned with the document

Re: How to store a HashSet in the index?

2007-12-10 Thread Erik Hatcher
On Dec 10, 2007, at 3:10 AM, Rishabh Joshi wrote: Can anyone help me on, as to how I can go about efficiently indexing (actually, storing in the index) and retrieving, a HashSet object, which contains multiple string arrays? I just want to store the HashSet in the index, and not search on

Re: How to store a HashSet in the index?

2007-12-10 Thread Rishabh Joshi
Thanks Eric! Rishabh On Dec 10, 2007 3:30 PM, Erik Hatcher [EMAIL PROTECTED] wrote: On Dec 10, 2007, at 3:10 AM, Rishabh Joshi wrote: Can anyone help me on, as to how I can go about efficiently indexing (actually, storing in the index) and retrieving, a HashSet object, which contains

does solr handle hierarchical facets?

2007-12-10 Thread Sean Laval
eg. category/subcategory/subsubcategory? such that if you search for category, you get all those documents that have been tagged with the category AND any sub categories. If this is possible I think I'll investigate using solr in place of some existing code we have that deals with indexing

RE: Field seperater for highlighting multi-value fields

2007-12-10 Thread Wagner,Harry
Hi Chris, Forget about this. I was doing something stupid. I should not send email before I've had coffee. Cheers... harry -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Saturday, December 08, 2007 12:30 AM To: solr-user@lucene.apache.org Subject: Re: Field

RE: Solr Highlighting, word index

2007-12-10 Thread Owens, Martin
Hello Everyone, Just to keep you all up to date about the maddness I've created. I managed to get the data I wanted by hacking: lucene-2.2.0 highlight/Highlighter.java solr-1.2 util/HighlightingUtils.java I got it to output either the word index or pairs of letter offsets (end and start)

Re: does solr handle hierarchical facets?

2007-12-10 Thread Brendan Grainger
Hi, I'm not sure if this is a good way to do it or not (so comments are more than welcome!), but the way we have achieved this is using the idea that a category/subcategory/subsubcategory etc create a path that we associate with a document. This is the simple field definition we use:

Re: does solr handle hierarchical facets?

2007-12-10 Thread Erik Hatcher
On Dec 10, 2007, at 8:54 AM, Sean Laval wrote: eg. category/subcategory/subsubcategory? such that if you search for category, you get all those documents that have been tagged with the category AND any sub categories. If this is possible I think I'll investigate using solr in place of

RE: does solr handle hierarchical facets?

2007-12-10 Thread SDIS M. Beauchamp
I handle this trough the interface I've got dynamics fileds ( path_0, path_1 , ... ) to make it easier. Florent -Message d'origine- De : Sean Laval [mailto:[EMAIL PROTECTED] Envoyé : lundi 10 décembre 2007 14:54 À : solr-user@lucene.apache.org Objet : does solr handle hierarchical

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Matt Kangas
Brendan, pull up your Solr Admin Analysis page and try running your queries through that. The output will tell you precisely how each analyzer affects your tokens on either the index or query side. In my own quick test, WordDelimiterFilterFactory seems inclined to break 2WD into (2,WD)

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Brendan Grainger
Hi Matt, Thanks for the reply. I've done what you said and I get exactly what you're saying as a result. Any ideas about how to make 2WD and 4WD be terms on their own? THanks On Dec 10, 2007, at 11:41 AM, Matt Kangas wrote: Brendan, pull up your Solr Admin Analysis page and try running

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Matt Kangas
I suppose you'll have to take WordDelimiterFilter out of your analysis chain, at least for that field. Or, perhaps toggling the generateNumberParts argument will have some effect? The API documentation should be your best resource here... --matt On Dec 10, 2007, at 11:48 AM, Brendan

Re: Is there a way to retrieve the analyzed tokens (e.g. the stemmed values) of a field from the SOLR index ?

2007-12-10 Thread Daniel Naber
On Sonntag, 9. Dezember 2007, s d wrote: Is there a way to retrieve the analyzed tokens (e.g. the stemmed values) of a field from the SOLR index ? You could have a look at how Luke implements its Reconstruct Edit feature. Or you could just re-analyze your text, using an analyzer directly.

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Mike Klaas
See https://issues.apache.org/jira/browse/SOLR-293 for one solution. -Mike On 10-Dec-07, at 8:48 AM, Brendan Grainger wrote: Hi Matt, Thanks for the reply. I've done what you said and I get exactly what you're saying as a result. Any ideas about how to make 2WD and 4WD be terms on their

Re: distributing indexes via solr

2007-12-10 Thread Doug T
I have been using parallelmultisearches on multi-CPU machines, and seen sizable benefit over a single large index (even if all of the fragments are on 1 disk). Is there a way to quickly enable this on a solr server? Or do I need to go into the source to make the change? -- View this message

Replication hooks

2007-12-10 Thread Tracy Flynn
Hi, I'm interested in setting up simple replication. I've reviewed all the Wiki information, looked at the scripts etc. and understand most of what I see. There are some references to 'hooks in the code' for both the master and slave nodes for handling replication. I've searched the

Re: Replication hooks

2007-12-10 Thread climbingrose
I think there is a event listener interface for hooking into Solr events such as post commit, post optimise and open new searcher. I can't remember on top of my head but if you do a search for *EventListener in Eclipse, you'll find it. The Wiki shows how to trigger snapshooter after each commit

Re: Replication hooks

2007-12-10 Thread Yonik Seeley
On Dec 10, 2007 11:22 PM, climbingrose [EMAIL PROTECTED] wrote: I think there is a event listener interface for hooking into Solr events such as post commit, post optimise and open new searcher. I can't remember on top of my head but if you do a search for *EventListener in Eclipse, you'll

Re: How do I search in all fields without index by solr

2007-12-10 Thread Laxmilal Menaria
Thanks, I have tried DisMaxRequestHandlerhttp://wiki.apache.org/solr/DisMaxRequestHandler?highlight=%28DisMax%29#head-af452050ee272a1c88e2ff89dc0012049e69e180and now its working for all fields.. Again thanks for quick response... LM!!! On 12/7/07, Laxmilal Menaria [EMAIL PROTECTED] wrote:

solr.home via getServletContext().getInitParameter(solr.home)

2007-12-10 Thread Otis Gospodnetic
Hi, Recently, I had to set up a Jetty with multiple Solr homes (not multi-core). I used JNDI with Jetty 6.1.6 to get this going. Then Matt Kangas' note from July 2007 caught my attention: env-entry env-entry-namesolr/home/env-entry-name env-entry-value./solr_users/env-entry-value

Re: Search for document by starting/ending with a keyword.

2007-12-10 Thread Chris Hostetter
: I want to perform a search for documents that contain the word starting with : given KEYWORD or Ending with given KEYWORD. : : Ex: Say document contains RenjiMathewThomas : : Now I want to perform a search for all the documents that contain the word : starting with Renji : or a search that

Re: display tokens

2007-12-10 Thread Chris Hostetter
: Subject: display tokens : : How can I retrieve the analyzed tokens (e.g. the stemmed values) of a : specific field? for a field by name independent of documents? the LukeRequestHandler can give you the top N terms for a field ... but if you mean i did a search, i found a document, show me