Re: How to extend IndexSchema and SchemaField

2010-10-09 Thread Renaud Delbru
Hi Chris, I have opened an issue (SOLR-2146 [1]) following that discussion. [1] https://issues.apache.org/jira/browse/SOLR-2146 cheers -- Renaud Delbru On 14/09/10 01:06, Chris Hostetter wrote: : Yes, I have thought of that, or even extending field type. But this does not : work for my use c

How to enable solr MoreLikeThis

2010-10-09 Thread Titash Neogi
Hello all, I am trying to follow the documentation given here http://wiki.apache.org/solr/MoreLikeThisHandler to enable MoreLikeThis in my application. However, when I execute any URL such as the one below /solr/mlt?stream.body=social media in india&mlt.fl=content&mlt.mintf=0 I get a 404 err

Re: How to enable solr MoreLikeThis

2010-10-09 Thread Ahmet Arslan
--- On Sat, 10/9/10, Titash Neogi wrote: > From: Titash Neogi > Subject: How to enable solr MoreLikeThis > To: "solr-user@lucene.apache.org" > Date: Saturday, October 9, 2010, 3:28 PM > Hello all, > > I am trying to follow the documentation given here > http://wiki.apache.org/solr/MoreLikeT

Re: Speeding up solr indexing

2010-10-09 Thread Otis Gospodnetic
Related. Can't be larger than -Xmx. :) Or even equal to -Xmx, because other things need to live in the heap. There is no exact function, so be more on the conservative side in order to avoid OOME. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: h

Re: dynamic "stop" words?

2010-10-09 Thread Geert-Jan Brits
That might work, although depending on your use-case it might be hard to have a good controlled vocab on citynames (hotel metropole bruxelles, hotel metropole brussels, hotel metropole brussel, etc.) Also 'hotel paris bruxelles' stinks... given your example: > Doc 1 > name => "Holiday Inn" > ci

Re: Speeding up solr indexing

2010-10-09 Thread sivaprasad
Hi, Please find the configurations below. Machine configurations(Solr running here): RAM - 4 GB HardDisk - 180GB Os - Red Hat linux version 5 Processor-2x Intel Core 2 Duo CPU @2.66GHz Machine configurations(Mysql server is running here): RAM - 4 GB HardDisk - 180GB Os - Red Hat linux version

xml-aware highlighting

2010-10-09 Thread Michael Sokolov
I have a requirement to highlight search results, and to display documents with matching terms highlighted in the context of the original XML document structure. It seems like this must be a very common use case, but I am having trouble finding a way to accomplish what we need to do using sol

Re: xml-aware highlighting

2010-10-09 Thread Michael Sokolov
OK - I read a bit more and it appears an appropriate analysis pipeline (which would extract text from XML using SAX, say) is all that's required, and existing highlighting ought to be able to accomplish what I'm after. So I guess the only question I have now before writing code is where is th

Re: Speeding up solr indexing

2010-10-09 Thread Dennis Gearon
Looking at it, and now knowing how much memory your other processes on your box use (nor how much memory you have set aside for Java), I would start with DOUBLING your ram. Make sure that you have enough Java memory. You will know if it has some effect by using the 2:1 size ratio. 100mb for all

Re: multi level faceting

2010-10-09 Thread Peter Karich
Hi, there are two relative similar solutions for this problem. I will describe one of them: * create a multivalued string field called 'category' * you have a category tree. so make sure a document gets not only the leaf category, but all categories (name or id) until the root * now facet over

"OR" facet queries?

2010-10-09 Thread Andy
I want to enable users to select multiple facet values for a specific facet fields. For example, if "color" is a facet field, I'd like to let users to select "red" OR "blue". Please note, I've set because I want "q=hello+world" means "hello" and "world" are AND'ed together. 1) What is the synt

Re: xml-aware highlighting

2010-10-09 Thread Ahmet Arslan
> OK - I read a bit more and it > appears an appropriate analysis pipeline (which would > extract text from XML using SAX, say) is all that's > required, and existing highlighting ought to be able to > accomplish what I'm after.  So I guess the only > question I have now before writing code is whe

Re: "OR" facet queries?

2010-10-09 Thread Ahmet Arslan
> I want to enable users to select > multiple facet values for a specific facet fields. For > example, if "color" is a facet field, I'd like to let users > to select "red" OR "blue". > > Please note, I've set > > because I want "q=hello+world" means "hello" and "world" > are AND'ed together. > >

Re: xml-aware highlighting

2010-10-09 Thread Michael Sokolov
Yes - that looks right; I was thrown a bit by the name - Thanks! On 10/9/2010 5:23 PM, Ahmet Arslan wrote: OK - I read a bit more and it appears an appropriate analysis pipeline (which would extract text from XML using SAX, say) is all that's required, and existing highlighting ought to be a

Re: Sorting on arbitary 'custom' fields

2010-10-09 Thread Erick Erickson
I'm confused. What do you mean that a user can "set any number of arbitrarily named fields on a document". It sounds like you are talking about a user adding arbitrarily may entries to a multi-valued field? Or is it some kind of key:value pairs in a field in your schema? Under any circumstances, s