Re: searching documents in solr

2010-05-27 Thread dotriz
Thank you for your reply. let me clarify that I am trying to do a wildcard search. There are documents with title ( title is default search field ) new1, new2, new3 searching new* will return all three posts but searching whereas *new1 returns no document, when it should return at-least one

Re: searching documents in solr

2010-05-27 Thread dotriz
Here is my schema.xml file http://lucene.472066.n3.nabble.com/file/n847355/schema.xml schema.xml -- View this message in context: http://lucene.472066.n3.nabble.com/searching-documents-in-solr-tp844800p847355.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Any realtime indexing plugin available for SOLR

2010-05-27 Thread stefan.maric
If it is your app that is updating data in the DB, then you could have it update Solr at the same time Regards Stefan Maric -Original Message- From: bbarani [mailto:bbar...@gmail.com] Sent: Wednesday, May 26, 2010 10:39 AM To: solr-user@lucene.apache.org Subject: Any realtime indexing

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 fieldType name=remuneration class=solr.TextField sortMissingLast=true omitNorms=true

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 according to

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

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

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

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.

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

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 fieldType name=remuneration class=solr.TextField sortMissingLast=true

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 fieldType name=remuneration

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: str name=RemunerationR500,000-550,000 Per Annum/str str name=Remuneration_stripR500,000-550,000 Per Annum/str How would I search for say salaries in the range of 500,000 -

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:

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 zman...@hotmail.com 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

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 zman...@hotmail.com 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

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

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

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

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

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 and max

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 muhammad.riz...@sigmatec.com.pk wrote: Here is my schema.xml file

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

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

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 provide guidance as

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

Re: Generic question on Query Analyzers

2010-05-27 Thread Ahmet Arslan
How do we make sure that when searches for terms like AM 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 make sure

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

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 the above

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

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: field name=text_t type=textindexed=true stored=true multiValued=true termVectors=true termPositions=true termOffsets=true/ I use to store text that I highlight on. If the field contains more than one text value,

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. So it's not

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 erickerick...@gmail.comwrote: 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

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 iori...@yahoo.com 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

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

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: field name=text_t type=textindexed=true stored=true multiValued=true termVectors=true termPositions=true termOffsets=true/ I use to store text that I highlight on. If the

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 arr name=text_t str The bird flies in the sky. /str str The quick brown fox jumped over the fence. /str /arr lst name=highlighting lst name=doc1/ /lst No highlighting. If the field only has one

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

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

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 fieldtype/ declaration for text (you posted the field/ but not the fieldtype/ so we only have half a picture of hte settings involved) That said: the subject of