Help with query boosting syntax

2010-05-27 Thread kirsty
Hi there, I am struggling with the syntax for boosting. My scenario is that we have an algorithm that gives weightings to particular keywords. When a person searches for keywords eg value1 value2 value3 we want to apply boosting so that a document is boosted according to which of the keywords it

Help with PatternReplaceFilterFactory

2010-05-27 Thread kirsty
Hi, I have a field that is a text field eg: R500,000-550,000 Per Annum, R350,000-550,000 Per Annum Cost To Company etc. I would like to facet on the salary range. I have created a new field type

Re: Help with query boosting syntax

2010-05-27 Thread kirsty
kirsty wrote: > > Hi there, > I am struggling with the syntax for boosting. > My scenario is that we have an algorithm that gives weightings to > particular keywords. > When a person searches for keywords eg value1 value2 value3 we want to > apply boosting so that a document is boosted accordin

Re: Machine utilization while indexing

2010-05-27 Thread Thijs
Sorry I missed it in the solrconfig.xml (my bad). I wasn't looking for it in the right place. Thijs On 27-5-2010 6:41, Chris Hostetter wrote: : So now I wonder why BinaryRequestWriter (and BinaryUpdateRequestHandler) : aren't turned on by default. (eps considering some threads on the dev-list

RE: solr configuration for Subversion

2010-05-27 Thread Stefan Maric
Thanks. I'll take a look at this -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: 27 May 2010 01:54 To: solr-user@lucene.apache.org Subject: Re: solr configuration for Subversion : I've seen the info about SvnQuery & wondered if anyone has a Solr : config

solr.solr.home

2010-05-27 Thread Antonello Mangone
Hi to everyone, I'm really sorry for the s3tupid question I'm doing, but I didn't understand how to set the java system property solr.solr.home to my solr home. Can someone help me ? Thanks in advanca

RE: solr.solr.home

2010-05-27 Thread Yuval Feinstein
* Set the java system property solr.solr.home to your solr home. (On linux - use something like export solr.solr.home=/my/solr/home. On Windows - see http://vlaurie.com/computers2/Articles/environment.htm to set an environment variable named solr.solr.home .) (You can also use the two other op

Re: solr.solr.home

2010-05-27 Thread Claudio Atzori
On 05/27/2010 10:30 AM, Antonello Mangone wrote: Hi to everyone, I'm really sorry for the s3tupid question I'm doing, but I didn't understand how to set the java system property solr.solr.home to my solr home. Can someone help me ? Thanks in advanca it should be something like System.setPr

Re: solr.solr.home

2010-05-27 Thread Antonello Mangone
But where I have to write this command ??? System.setProperty("solr.solr.home", > "whateverpathyou'dliketosetonyourfilesystem"); > > Claudio >

Re: solr.solr.home

2010-05-27 Thread Marco Martinez
Hi, When you start the tomcat, you can specify the properties, it will be something like this -Dsolr.solr.home=path/to/your/solr/home. For example, in linux ./startup.sh -Dsolr.solr.home=path/to/your/solr/home Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Át

Re: Highlighting questions

2010-05-27 Thread Erik Hatcher
Just set the pre and post tags to be empty strings and you'll get the result you want, I think. No? Erik On May 26, 2010, at 8:36 PM, Blargy wrote: What are the correct for settings to get highlighting excerpting working? Original Text: "The quick brown fox jumps over the lazy

Re: Any realtime indexing plugin available for SOLR

2010-05-27 Thread Erik Hatcher
On May 26, 2010, at 11:29 AM, Dennis Gearon wrote: I thought that if entries were COMMITed to the index, they were immediately visible? Is this true, or am I smoking Java coffee beans? They're visible after a commit AND warming are complete, yes. But there could be a potentially substa

Re: Help with PatternReplaceFilterFactory

2010-05-27 Thread Koji Sekiguchi
(10/05/27 16:11), kirsty wrote: Hi, I have a field that is a text field eg: R500,000-550,000 Per Annum, R350,000-550,000 Per Annum Cost To Company etc. I would like to facet on the salary range. I have created a new field type

Re: Help with PatternReplaceFilterFactory

2010-05-27 Thread kirsty
Koji Sekiguchi wrote: > > (10/05/27 16:11), kirsty wrote: >> Hi, >> I have a field that is a text field eg: R500,000-550,000 Per Annum, >> R350,000-550,000 Per Annum Cost To Company etc. >> I would like to facet on the salary range. >> I have created a new field type >> > sortMissingLast="true"

Re: Help with PatternReplaceFilterFactory

2010-05-27 Thread Koji Sekiguchi
Yes you are right, I get that type of result. I guess my wording was wrong. My field looks like this in the index: R500,000-550,000 Per Annum R500,000-550,000 Per Annum How would I search for say salaries in the range of 500,000 - 550,000? Trying fq=Rumeration_strip:500,000-550,00 doesn't bring

multicore Vs multiple solr webapps

2010-05-27 Thread Antonello Mangone
Hi to all, I have a question for you ... Can someone exaplain me the differences between a unique solr application multicore and multiple solr webapps ??? Thank you all in advance

Re: Need guidance on schema type

2010-05-27 Thread Blargy
There will never be any need to search the actual HTML (tags, markup, etc) so as far as functionality goes it seems like the DIH HTMLStripTransformer is the way to go. Are there any significant performance differences between the two? -- View this message in context: http://lucene.472066.n3.nab

Generic questions

2010-05-27 Thread Blargy
Can someone explain to be what the state of Solr/Lucene is... didn't they recently combine? I know I am running version 1.4 but I keep seeing version numbers out there that are 3.0, 4.0??? Can someone explain what that means. Also is the state of trunk (1.4 or 4.0??) "good enough" for production

Re: Generic questions

2010-05-27 Thread Yonik Seeley
On Thu, May 27, 2010 at 12:48 PM, Blargy wrote: > Can someone explain to be what the state of Solr/Lucene is... didn't they > recently combine? Yes, it started in March. Development is combined (committers, dev list, etc), but separate downloads and user lists will remain. > I know I am running

Generic question on Query Analyzers

2010-05-27 Thread iboppana
Hi to all, I have a question on query analyzers. How do we make sure that when searches for terms like A&M does not match docs which have some thing like 5a.m etc On analysis in admin page, it looks like WordDelimiterFilterFactory, is splitting on &, how can i make it work so that i can use fe

Re: Generic questions

2010-05-27 Thread Blargy
Yonik Seeley-2-2 wrote: > > Lots of other stuff has changed. For example, trunk is now always the > next *major* version number. > So the trunk of the combined lucene/solr is 4.0-dev > > There is now a branch_3x that is like trunk for all future 3.x releases. > > The next version of Solr will

Re: Generic questions

2010-05-27 Thread Yonik Seeley
On Thu, May 27, 2010 at 2:12 PM, Blargy wrote: > What version is (http://svn.apache.org/repos/asf/lucene/dev/trunk/)? Im > guessing its 4.0-dev Yes. > but then where does 3.1 fit in? http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/ > Say I am running 1.4 and want to upgrade, whic

Re: multicore Vs multiple solr webapps

2010-05-27 Thread David Stuart
Hi Antonello, In multicore you get richer fuctionality including core discovery, core config reload, alias, core swap and (soon to be) core create. Under a single webapp you get control over memory allocation threads etc. Personally I would chose multicore and I believe in solr 1.5 they ar

Re: multicore Vs multiple solr webapps

2010-05-27 Thread David Stuart
So correction as per a different thread the next verison of solr will be 3.1 as per the merge with the luence tpl David Stuart On 27 May 2010, at 15:44, Antonello Mangone wrote: Hi to all, I have a question for you ... Can someone exaplain me the differences between a unique solr appli

Re: multicore Vs multiple solr webapps

2010-05-27 Thread Ryan McKinley
The two approaches solve different needs. In 'multicore' you have a single webapp with multiple indexes. This means they are all running in the same JVM. This may be an advantage or a disadvantage depending on what you are doing. ryan On Thu, May 27, 2010 at 10:44 AM, Antonello Mangone wrot

Sites with Innovative Presentation of Tags and Facets

2010-05-27 Thread Mark Bennett
I'm a big fan of plain old text facets (or tags), displayed in some logical order, perhaps with a bit of indenting to help convey context. But as you may have noticed, I don't rule the world. :-) Suppose you took the opposite approach, rending facets in non-traditional ways, that were still funct

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-27 Thread Geert-Jan Brits
Something like sliders perhaps? Of course only numerical ranges can be put into sliders. (or a concept that may be logically presented as some sort of ordening, such as "bad, hmm, good, great" Use Solr's Statscomponent to show the min and max values Have a look at tripadvisor.com for good uses/im

Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Hi all, I have a query need that requires multiple OR conditions, and, there must be a match in each condition for the query to provide a result. The search would be * (A or B) AND (C or D)* and the only valid results it could turn up are: A B A C B C B D Can anyone provide guidance as to how t

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-27 Thread Lukas Kahwe Smith
On 27.05.2010, at 23:32, Geert-Jan Brits wrote: > Something like sliders perhaps? > Of course only numerical ranges can be put into sliders. (or a concept that > may be logically presented as some sort of ordening, such as "bad, hmm, > good, great" > > Use Solr's Statscomponent to show the min a

Re: searching documents in solr

2010-05-27 Thread Lance Norskog
Leading wildcards don't work. word* is supported word? is supported word*x or word?x should be supported, but something strange happens involving boolean queries. On Wed, May 26, 2010 at 11:31 PM, dotriz wrote: > > Here is my schema.xml file > > http://lucene.472066.n3.nabble.com/file/n847355/sc

Solr trunk and Jetty threadpool implementation problem

2010-05-27 Thread Smiley, David W.
I'd like to warn people about the default configuration of Jetty in the Solr trunk release (not present in Solr 1.4 and prior). There is a difference in the jetty configuration which is for the latest Solr to use the QueuedThreadPool (as seen in jetty.xml). Previously, it had used a BoundedTh

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
On Thu, May 27, 2010 at 5:34 PM, efr...@gmail.com wrote: > Hi all, > > I have a query need that requires multiple OR conditions, and, there must > be a match in each condition for the query to provide a result. > > The search would be * (A or B) AND (C or D)* and the only valid results it > could

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
> I have a query need that requires multiple OR conditions, > and, there must be > a match in each condition for the query to provide a > result. > > The search would be * (A or B) AND (C or D)* and the only > valid results it > could turn up are: > > A B > A C > B C > B D > > Can anyone provid

Re: Any realtime indexing plugin available for SOLR

2010-05-27 Thread Antonio Lobato
Funny enough, I've been looking for my own solution too. The Zoie plugin does not work on multi-core setups, so that's bust for me. Once you commit something to index, you need to "warm" a new searcher (load all the data from disk into memory/cache) like Erik says. On a smaller index, this is

Re: Sites with Innovative Presentation of Tags and Facets

2010-05-27 Thread Geert-Jan Brits
Perhaps you could show the 'nr of items left' as a tooltip of sorts when the user actually drags the slider. If the user doesn't drag (or hovers over ) the slider 'nr of items left' isn't shown. Moreover, initially a slider doesn't limit the results so 'nr of items left' shown for the slider would

Re: Generic question on Query Analyzers

2010-05-27 Thread Ahmet Arslan
> How do we make sure that when searches for terms like > A&M does not match > docs which have some thing like 5a.m etc > > On analysis in admin page, it looks like > WordDelimiterFilterFactory, is > splitting on &, how can i make it work so that i can > use features of word > delimiter as well m

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Thank you. That seems to be working well, except when I included a wild card for any of the terms, the wildcard term isn't being found out. My searches are actually: q=+(A A*) +(C C*)&q.op=OR When I do a regular search on "A*" or "C*" I get matches but not in the context of the above query. The a

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
> Thank you. That seems to be working > well, except when I included a wild card > for any of the terms, the wildcard term isn't being found > out. > > My searches are actually: > q=+(A A*) +(C C*)&q.op=OR > > When I do a regular search on "A*" or "C*" I get matches > but not in the > context of

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Erick Erickson
You can get a lot of mileage out of the admin analysis page and the "full interface" page, especially by turning on the "debug" option on the admin "full interface" page. It takes a bit of practice to read the debug output, but it's really, really, really worth it Best Erick On Thu, May 27,

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Hi Ahmet, Thanks for the response again. The best way I could illustrate our live search feature is an example implementation: http://www.krop.com/ Notice when you search the word "senior" in the keywords field, the results filter down to just the job postings with that word in it. So it's not

highlighting broken for multivalued text fields?

2010-05-27 Thread Darren Govoni
Hi, I want to verify a bug if someone can help. I have a text field: I use to store text that I highlight on. If the field contains more than one text value, highlighting does not seem to work. No highlights are returned, even though the text exists in one of the field values returned from

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
> Thanks for the response again. The best way I could > illustrate our live > search feature is an example implementation: > > http://www.krop.com/ > > Notice when you search the word "senior" in the keywords > field, the results > filter down to just the job postings with that word in it. > >

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Thanks, I found full interface :) On Thu, May 27, 2010 at 7:12 PM, Erick Erickson wrote: > You can get a lot of mileage out of the admin > analysis page and the "full interface" page, especially > by turning on the "debug" option on the admin > "full interface" page. > > It takes a bit of practic

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Responses in blue On Thu, May 27, 2010 at 7:32 PM, Ahmet Arslan wrote: > > > > Thanks for the response again. The best way I could > > illustrate our live > > search feature is an example implementation: > > > > http://www.krop.com/ > > > > Notice when you search the word "senior" in the keyword

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
> > We don't mind the order of terms. We basically are > sorting by two variables > that are independent of relevency.  So I would assume > the order doesn't > matter... we just need to make sure any results we filter > down to (as you > saw in the krop.com example) contain the words the user has >

Re: highlighting broken for multivalued text fields?

2010-05-27 Thread Koji Sekiguchi
(10/05/28 8:16), Darren Govoni wrote: Hi, I want to verify a bug if someone can help. I have a text field: I use to store text that I highlight on. If the field contains more than one text value, highlighting does not seem to work. No highlights are returned, even though the text exists

Re: highlighting broken for multivalued text fields?

2010-05-27 Thread Darren Govoni
Hi Koji, Well, its quite simple. Here is the field returned from my query: "fox" The bird flies in the sky. The quick brown fox jumped over the fence. No highlighting. If the field only has one value "The quick brown fox jumped over the fence." It works. Interesting

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Hi Ahmet, Thanks again for the feedback. We will be searching several fields of each object in the index (title, description, tags). The matches on keywords need to be in any of these fields and there will be no different weights. Does this affect your solution? I'm trying to understand it as be

NoSuchFieldError: submap

2010-05-27 Thread Mauricio Scheffer
Hi, I'm trying to build from source to apply the field collapsing patch. 'Ant dist' runs just fine, no errors, but at startup I get a "NoSuchFieldError: submap" exception (stack trace: http://pastebin.com/NXsf0KJS ). This is before sending any requests. I don't have any 'submap' field defined anywh

Re: highlighting broken for multivalued text fields?

2010-05-27 Thread Chris Hostetter
: Hi Koji, :Well, its quite simple. Here is the field returned from my query: : "fox" Actually what Koji was asking for was the declaration for "text" (you posted the but not the so we only have half a picture of hte settings involved) That said: the subject of this thread caught my eye