Re: Solr Javascript+JSON not optimized for SEO
The solution is to offer both, and provide fallback for browsers that don't support javascript (e.g. Googlebot) I would also ponder the question "how does this ajax feature help my users?". If you can't find a good answer to that, you should probably just not use ajax. (NB: "it's faster" is not a valid answer!) -Nick On Sun, Oct 24, 2010 at 12:30 AM, PeterKerk wrote: > > Unfortunately its not online yet, but is there anything I can clarify in more > detail? > > Thanks! > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Javascript-JSON-not-optimized-for-SEO-tp1751641p1758054.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Question Solr Index main in RAM
You could also try using a ram disk, mkdir /var/ramdisk mount -t tmpfs none /var/ramdisk -o size=m Obviously, if you lose power you will lose everything.. On Mon, Feb 28, 2011 at 11:37 AM, Lance Norskog wrote: > This sounds like a great idea but rarely works out. Garbage collection > has to work around the data stored in memory, and most of the data you > want to hit frequently is in the indexed and cached. The operating > system is very smart about keeping the popular parts of the index in > memory, and there is no garbage collection there. > > I do not know if the RAMDirectoryFactory in current development has > disk-backed persistence. > > On Thu, Feb 24, 2011 at 7:26 AM, Bill Bell wrote: >> How to use this? >> >> Bill Bell >> Sent from mobile >> >> >> On Feb 24, 2011, at 7:19 AM, Koji Sekiguchi wrote: >> >>> (11/02/24 21:38), Andrés Ospina wrote: Hi, My name is Felipe and i want to use the index main of solr in RAM memory. How it's possible? I have solr 1.4 Thank you! Felipe >>> >>> Welcome Felipe! >>> >>> If I understand your question correctly, you can use RAMDirectoryFactory: >>> >>> https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/org/apache/solr/core/RAMDirectoryFactory.html >>> >>> But I believe it is available 3.1 (to be released soon...). >>> >>> Koji >>> -- >>> http://www.rondhuit.com/en/ >> > > > > -- > Lance Norskog > goks...@gmail.com >
Re: [POLL] - A new logo for Solr
Is there an option to keep the current one? -Nick On 8/2/08, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > On Fri, Aug 1, 2008 at 8:39 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > > On Fri, Aug 1, 2008 at 10:44 AM, Shalin Shekhar Mangar > > <[EMAIL PROTECTED]> wrote: > > > The design with the most number of total (first+second place) votes will > > be > > > accepted as the community's choice > > > > Thanks for setting this up Shalin. > > I'm not sure first+second votes should simply be added though > > (something that *no* one voted for as 1st could win)... lets just wait > > and see the results and hopefully it will be obvious this time. > > > > -Yonik > > > > > Sure Yonik. No problem :) > > -- > Regards, > > Shalin Shekhar Mangar. >
Re: Solr Logo thought
I like the O, it is both the sun and it looks like an eye which suits in with the search. Good stuff. -Nick On 8/21/08, Lukáš Vlček <[EMAIL PROTECTED]> wrote: > Hi, > > Well, the eye looking O is not intentional. It is more a result of the > techique I used when doing the initial skatch. Believe it or not this design > started at magnetic drawing board (http://www.reggies.co.za/nov/nov274.jpg) > which I use now when playing with my 2 year old daughter. It is an excellent > piece of hardware and though it lacks in terms of output resolution and is > not presure sensitive and its undo capatilities are very limitted it > outperforms my A4+ Wacom tablet in terms of bootup time and is absolutely > *green energy* equipment. But as I mentioned, its resolution is quite low > and thus the vectorized version is not perfect yet. > > Anyway, I think that eye looking O is an interesting observation I will work > on this because I see that it can be confuzing. > > Regards, > Lukas > > > On Wed, Aug 20, 2008 at 9:01 PM, Mike Klaas <[EMAIL PROTECTED]> wrote: > > > Nice job Lukas; the professionalism and quality of work is evident. I like > > aspects of the logo, but too am having trouble getting past the eye-looking > > O. Is it intentional (eye:look:search, etc)? > > > > -Mike > > > > > > On 20-Aug-08, at 5:25 AM, Mark Miller wrote: > > > > I went through the same thought process - it took a couple minutes for the > >> whole thing to grow on me. Perhaps a tweak to the O if your looking for > some > >> constructive criticism? > >> > >> Again though, I really think its an awesome multipurpose logo. Works well > >> in color, b/w, large, small, and just the sun part as a facicon/other. > >> > >> Grant Ingersoll wrote: > >> > >>> It's pretty good, for me. My first thought is it is an eye (the orange > >>> reminds me of eyelashes), and then the second thought is it is the Sun. > Take > >>> that w/ a grain of salt, though, there's a reason why I do server-side > code > >>> and not user interfaces and graphic design. :-) > >>> > >>> -Grant > >>> > >>> On Aug 20, 2008, at 3:48 AM, Lukáš Vlček wrote: > >>> > >>> Hi, > > Only few responded so far. How we can get more feedback? Do you think I > should work on the proposal a little bit more and then attach it to > SOLR-84? > > Regards, > Lukas > > On Mon, Aug 18, 2008 at 6:14 PM, Otis Gospodnetic < > [EMAIL PROTECTED]> wrote: > > I like it, even its asymmetry. :) > > > > > > Otis > > -- > > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > > > > > - Original Message > > > >> From: Lukáš Vlček <[EMAIL PROTECTED]> > >> To: solr-user@lucene.apache.org > >> Sent: Sunday, August 17, 2008 7:02:25 PM > >> Subject: Re: Solr Logo thought > >> > >> Hi, > >> > >> My initial draft of Solr logo can be found here: > >> http://picasaweb.google.com/lukas.vlcek/Solr > >> The reason why I haven't attached it to SOLR-84 for now is that this > >> is > >> > > just > > > >> draft and not final design (there are a lot of unfinished details). I > >> > > would > > > >> like to get some feedback before I spend more time on it. > >> > >> I had several ideas but in the end I found that the simplicity works > >> > > best. > > > >> Simple font, sun motive, just two colors. Should look fine in both the > >> > > large > > > >> and small formats. As for the favicon I would use the sun motive only > >> - > >> > > it > > > >> means the O letter with the beams. The logo font still needs a lot of > >> > > small > > > >> (but important) touches. For now I would like to get feedback mostly > >> > > about > > > >> the basic idea. > >> > >> Regards, > >> Lukas > >> > >> On Sat, Aug 9, 2008 at 8:21 PM, Mark Miller wrote: > >> > >> Plenty left, but here is a template to get things started: > >>> http://wiki.apache.org/solr/LogoContest > >>> > >>> Speaking of which, if we want to maintain the momentum of interest in > >>> > >> this > > > >> topic, someone (ie: not me) should setup a "LogoContest" wiki page > > >>> with some > > > >> of the "goals" discussed in the various threads on solr-user and > > >>> solr-dev > > > >> recently, as well as draft up some good guidelines for how we should > > >>> run the > > > >> contest > > > >>> > >> > > > > > > -- > > http://blog.lukas-vlcek.com/ >
Re: Out of Memory Errors
Have you confirmed Java's -Xmx setting? (Max memory) e.g. java -Xmx2000MB -jar start.jar -Nick On Wed, Oct 22, 2008 at 3:24 PM, Mark Miller <[EMAIL PROTECTED]> wrote: > How much RAM in the box total? How many sort fields and what types? Sorts on > each core? > > Willie Wong wrote: >> >> Hello, >> >> I've been having issues with out of memory errors on searches in Solr. I >> was wondering if I'm hitting a limit with solr or if I've configured >> something seriously wrong. >> >> Solr Setup >> - 3 cores - 3163615 documents each >> - 10 GB size >> - approx 10 fields >> - document sizes vary from a few kb to a few MB >> - no faceting is used however the search query can be fairly complex with >> 8 or more fields being searched on at once >> >> Environment: >> - windows 2003 >> - 2.8 GHz zeon processor >> - 1.5 GB memory assigned to solr >> - Jetty 6 server >> >> Once we get to around a few concurrent users OOM start occuring and Jetty >> restarts. Would this just be a case of more memory or are there certain >> configuration settings that need to be set? We're using an out of the box >> Solr 1.3 beta version. >> A few of the things we considered that might help: >> - Removing sorts on the result sets (result sets are approx 40,000 + >> documents) >> - Reducing cache sizes such as the queryResultMaxDocsCached setting, >> document cache, queryResultCache, filterCache, etc >> >> Am I missing anything else that should be looked at, or is it time to >> simply increase the memory/start looking at distributing the indexes? Any >> help would be much appreciated. >> >> >> Regards, >> >> WW >> >> > >
Re: [VOTE] Community Logo Preferences
https://issues.apache.org/jira/secure/attachment/12394366/solr3_maho.png https://issues.apache.org/jira/secure/attachment/12394282/solr2_maho_impression.png https://issues.apache.org/jira/secure/attachment/12392306/apache_solr_sun.png https://issues.apache.org/jira/secure/attachment/12394267/apache_solr_c_blue.jpg Good work to all the people who contributed. -Nick On Mon, Nov 24, 2008 at 3:06 PM, Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Sun, 23 Nov 2008 11:59:50 -0500 > Ryan McKinley <[EMAIL PROTECTED]> wrote: > >> Please submit your preferences for the solr logo. > > https://issues.apache.org/jira/secure/attachment/12394267/apache_solr_c_blue.jpg > https://issues.apache.org/jira/secure/attachment/12394263/apache_solr_a_blue.jpg > https://issues.apache.org/jira/secure/attachment/12394070/sslogo-solr-finder2.0.png > https://issues.apache.org/jira/secure/attachment/12394376/solr_sp.png > https://issues.apache.org/jira/secure/attachment/12394264/apache_solr_a_red.jpg > > thanks!! > B > > _ > {Beto|Norberto|Numard} Meijome > > "Tell a person you're the Metatron and they stare at you blankly. Mention > something out of a Charleton Heston movie and suddenly everyone's a Theology > scholar!" > Dogma > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. > Reading disclaimers makes you go blind. Writing them is worse. You have been > Warned. >
dismax parsing applied to specific fields
Hi I was wondering if there is a way of applying dismax parsing to specific fields, where there are multiple fields being searched - all with different query values e.g. author:(tolkien) AND title:(the lord of the rings) would be something like: dismax(author, tolkien) AND dismax(title, the lord of the rings) I guess this can be thought of having two separate dismax configurations, one searching author and one searching title - and the intersection of the results is returned. Thanks -Nick
Re: too often delta imports performance effect
Yes, the old data will show until there has been a commit executed. 50 docs isn't many so you should be fine -Nick On Mon, Feb 15, 2010 at 11:41 AM, adeelmahmood wrote: > > thank you .. that helps .. actually its not that many updates .. close to 10 > fields probably and may be 50 doc updates per 15 .. so i am assuming that by > handling indexing and searching in parallel you mean that if its updating > some data .. it will continue to show old data until new data has been > finalized(committed) or something like that ?? > > > Jan Høydahl / Cominvent wrote: >> >> Hi, >> >> This all depends on actual volumes, HW, architecture etc. >> What exactly is "pretty frequently", how many document updates/adds per 15 >> minutes? >> >> Solr is designed to be able to do indexing and search in parallel, so you >> don't need to fear this, unless you are already pushing the limits of what >> your setup can handle. The best way to go is to start out and then >> optimize when you see bottlenecks. >> >> Here is a pointer to Wiki about indexing performance: >> http://wiki.apache.org/lucene-java/ImproveIndexingSpeed >> >> -- >> Jan Høydahl - search architect >> Cominvent AS - www.cominvent.com >> >> On 14. feb. 2010, at 23.56, adeelmahmood wrote: >> >>> >>> we are trying to setup solr for a website where data gets updated pretty >>> frequently and I want to have those changes reflected in solr indexes >>> sooner >>> than nighly delta-imports .. so I am thinking we will probably want to >>> set >>> it up to have delta imports running every 15 mins or so .. and solr >>> search >>> will obviously be in use while this is going on .. first of all does solr >>> works well with adding new data or updating existing data while people >>> are >>> doing searches in it >>> secondly are these delta imports are gonna cause any significant >>> performance >>> degradation in solr search >>> any help is appreciated >>> -- >>> View this message in context: >>> http://old.nabble.com/too-often-delta-imports-performance-effect-tp27587778p27587778.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >>> >> >> >> > > -- > View this message in context: > http://old.nabble.com/too-often-delta-imports-performance-effect-tp27587778p27588472.html > Sent from the Solr - User mailing list archive at Nabble.com. > >
Re: Solr and security
You have to remember that Solr is search, not security, its not considered a great idea to have it publicly accessible. If you want a public instance any requests to your solr instance should be "proxied" by some interface between solr and the user. e.g. user requests http://foobar.com/searchapi?k=foobar&userToken=123456789 and then that page will check the userToken and send the request to solr and return the result solr gives. -Nick On 10/25/07, Cool Coder <[EMAIL PROTECTED]> wrote: > Thanks. I am trying to implement some sort authentication mechanism in Solr. > This means each request will have a key which can authenticate whether the > request is authentic or not. And do you think, I need to still take care the > steps mentioned by you and why?? > > - BR > > "Wagner,Harry" <[EMAIL PROTECTED]> wrote: > One effective method is to block access to the port Solr runs on. Force > application access to come thru the HTTP server, and let it map to the > application server (i.e., like mod_jk does for for Apache & Tomcat). > Simple, but effective. > > Cheers! > harry > > -Original Message- > From: Cool Coder [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 24, 2007 12:17 PM > To: solr-user@lucene.apache.org > Subject: Solr and security > > Hi Group, > As far as I know, to use solr, we need to deploy it as a > server and communicate to solr using http protocol. How about its > security? i.e. how can we ensure that it only accepts request from > predefined set of users only. Is there any way we can specify this in > solr or solr depends only on web server security model. I am not sure > whether my interpretation is right? > Your suggestion/input? > > - BR > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
Re: PriceJunkie.com using solr!
Hi This is faceting, http://wiki.apache.org/solr/SolrFacetingOverview -Nick On Nov 14, 2007 1:21 AM, William Silva <[EMAIL PROTECTED]> wrote: > Hi Mike, > I´m checking out www.pricejunkie.com and Í would like to know how do > you group the products and find the price range. Is it a batch process > ? Are you using MoreLikeThis to do it ? > Thanks, > William. > > > > >ahait is wonderful. > > >2007/5/24, Mike Austin <[EMAIL PROTECTED]>: > > >Just one. > > >-Original Message- > >From: James liu [EMAIL PROTECTED] > >Sent: Wednesday, May 16, 2007 10:30 PM > >To: solr-user@lucene.apache.org > >Subject: Re: PriceJunkie.com using solr! > > > >how many solr instance? > > > >2007/5/17, Yonik Seeley <[EMAIL PROTECTED]>: > > > > Congrats, very nice job! > > It's fast too. > > > > -Yonik > > > > On 5/16/07, Mike Austin <[EMAIL PROTECTED]> wrote: > > > I just wanted to say thanks to everyone for the creation of > solr. I've > > been > > > using it for a while now and I have recently brought one of my side > > projects > > > online. I have several other projects that will be using solr for > it's > > > search and facets. > > > > > > Please check out www.pricejunkie.com and let us know what you think.. > > You > > > can give feedback and/or sign up on the mailing list for future > updates. > > > The site is very basic right now and many new and useful features plus > > > merchants and product categories will be coming soon! I thought it > > would be > > > a good idea to at least have a few people use it to get some feedback > > early > > > and often. > > > > > > Some of the nice things behind the scenes that we did with solr: > > > - created custom request handlers that have category to facet to > > attribute > > > caching built in > > > - category to facet management > > > - ability to manage facet groups (attributes within a set > facet) > > and assign > > > them to categories > > > - ability to create any category structure and share facet > > groups > > > > > > - facet inheritance for any category (a facet group can be defined on > a > > > parent category and pushed down to all children) > > > - ability to create sub-categories as facets instead of normal sub > > > categories > > > - simple xml configuration for the final outputted category > > configuration > > > file > > > > > > > > > I'm sure there are more cool things but that is all for now. Join the > > > mailing list to see more improvements in the future. > > > > > > Also.. how do I get added to the Using Solr wiki page? > > > > > > > > > Thanks, > > > Mike Austin > > >
Re: PriceJunkie.com using solr!
I would guess by model number -Nick On 11/17/07, William Silva <[EMAIL PROTECTED]> wrote: > Hi Nick, > For example, searching for tv , the first document is "*Samsung SlimFit HDTV > TX-T2782 27" TV*" in 2 Sellers, Amazon and Circuit City. The tvs name are: > Amazon => Slimfit Digital Tv 27" > Circuit City => Samsung 27" SlimFit Tube TV > How do you know that they are the same Television ? > > Thanks, > William. > > > > On 11/14/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: > > > > Hi > > This is faceting, http://wiki.apache.org/solr/SolrFacetingOverview > > -Nick > > > > On Nov 14, 2007 1:21 AM, William Silva <[EMAIL PROTECTED]> wrote: > > > Hi Mike, > > > I´m checking out www.pricejunkie.com and Í would like to know how do > > > you group the products and find the price range. Is it a batch process > > > ? Are you using MoreLikeThis to do it ? > > > Thanks, > > > William. > > > > > > > > > > > > >ahait is wonderful. > > > > > > >2007/5/24, Mike Austin <[EMAIL PROTECTED]>: > > > > > > >Just one. > > > > > > >-Original Message- > > > >From: James liu [EMAIL PROTECTED] > > > >Sent: Wednesday, May 16, 2007 10:30 PM > > > >To: solr-user@lucene.apache.org > > > >Subject: Re: PriceJunkie.com using solr! > > > > > > > > > >how many solr instance? > > > > > > > > > >2007/5/17, Yonik Seeley <[EMAIL PROTECTED]>: > > > > > > > > Congrats, very nice job! > > > > It's fast too. > > > > > > > > -Yonik > > > > > > > > On 5/16/07, Mike Austin <[EMAIL PROTECTED]> wrote: > > > > > I just wanted to say thanks to everyone for the creation of > > > solr. I've > > > > been > > > > > using it for a while now and I have recently brought one of my side > > > > projects > > > > > online. I have several other projects that will be using solr for > > > it's > > > > > search and facets. > > > > > > > > > > Please check out www.pricejunkie.com and let us know what you > > think.. > > > > You > > > > > can give feedback and/or sign up on the mailing list for future > > > updates. > > > > > The site is very basic right now and many new and useful features > > plus > > > > > merchants and product categories will be coming soon! I thought it > > > > would be > > > > > a good idea to at least have a few people use it to get some > > feedback > > > > early > > > > > and often. > > > > > > > > > > Some of the nice things behind the scenes that we did with solr: > > > > > - created custom request handlers that have category to facet to > > > > attribute > > > > > caching built in > > > > > - category to facet management > > > > > - ability to manage facet groups (attributes within a set > > > facet) > > > > and assign > > > > > them to categories > > > > > - ability to create any category structure and share facet > > > > groups > > > > > > > > > > - facet inheritance for any category (a facet group can be defined > > on > > > a > > > > > parent category and pushed down to all children) > > > > > - ability to create sub-categories as facets instead of normal sub > > > > > categories > > > > > - simple xml configuration for the final outputted category > > > > configuration > > > > > file > > > > > > > > > > > > > > > I'm sure there are more cool things but that is all for now. Join > > the > > > > > mailing list to see more improvements in the future. > > > > > > > > > > Also.. how do I get added to the Using Solr wiki page? > > > > > > > > > > > > > > > Thanks, > > > > > Mike Austin > > > > > > > > > >
Re: Query multiple fields
Hi David You had it write in your example :) description:test AND type:10 But it would probably be wise to wrap any text in parenthesis: description:(test foo bar baz) AND type:10 You can find more info on the query syntax here: http://lucene.apache.org/java/docs/queryparsersyntax.html -Nick On 11/18/07, Dave C. <[EMAIL PROTECTED]> wrote: > Hello, > > I've been trying to figure out how to query multiple fields at a time. > For example, I want to do something like: description:test AND type:10. > I've tried things like: "?q=description:test&type:10" etc, but I keep getting > syntax errors. > > Can anyone tell me how this can be done? > > Thanks, > David > > P.S. Perhaps the solution to this could/should be added to the FAQ/tutorial? > > _ > You keep typing, we keep giving. Download Messenger and join the i'm > Initiative now. > http://im.live.com/messenger/im/home/?source=TAGLM
Re: Solr PHP client
You can use curl (www.php.net/curl) to interface with solr, its a piece of cake! -Nick On 11/20/07, SDIS M. Beauchamp <[EMAIL PROTECTED]> wrote: > I use the php and php serialized writer to query Solr from php > > It's very easy to use > > But it's not so easy to update solr from php ( that's why my crawlers are not > written in php ) > > Florent BEAUCHAMP > > -Message d'origine- > De : Jonathan Ariel [mailto:[EMAIL PROTECTED] > Envoyé : mardi 20 novembre 2007 02:49 > À : solr-user@lucene.apache.org > Objet : Solr PHP client > > Hi! > I'm wondering if someone is using a PHP client for solr. Actually I'm not > sure if there is one out there. > Would you be interested in having a SolrJ port for PHP? > > Thanks, > > Jonathan Leibiusky > >
Re: Loading performance slowdown at ~ 400K documents
Hi Tracy Do you have autocommit enabled (or are you manually commiting every few thousand docs?) If not try that. -Nick On 5/10/08, Tracy Flynn <[EMAIL PROTECTED]> wrote: > Hi, > > I'm starting to see significant slowdown in loading performance after I > have loaded about 400K documents. I go from a load rate of near 40 docs/sec > to 20- 25 docs a second. > > Am I correct in assuming that, during indexing operations, Lucene/SOLR > tries to hold as much of the indexex in memory as possible? If so, does the > slowdown indicate need to increase JVM heap space? > > Any ideas / help would be appreciated > > Regards, > > Tracy > > - > > Details > > Documents loaded as XML via POST command in batches of 1000, commit after > each batch > > Total current documents ~ 450,000 > Avg document size: 4KB > One indexed text field contains 3KB or so. (body field below - standard > type 'text') > > Dual XEON 3 GHZ 4 GB memory > > SOLR JVM Startup options > > java -Xms256m -Xmx1000m -jar start.jar > > > Relevant portion of the schema follows > > > required="true"/> > required="false"/> > required="false"/> > > required="false" default="0"/> > required="true"/> > required="false"/> > required="false" compressed="true"/> > required="false"/> > stored="true" required="false" default="0"/> > required="false"/> > required="false" default="0"/> > required="false" default="0"/> > required="false" default="0"/> > required="false"/> > required="false"/> > required="false" multiValued="true"/> > required="false" default="0"/> > required="false" default="0"/> > required="false"/> > required="false" multiValued="true"/> > required="false"/> > required="false" default="0"/> > required="false"/> > required="false" default="0"/> > stored="true" required="false"/> > stored="true" required="false"/> > type="string" indexed="true" stored="true" required="false"/> > > required="false" /> > > >
Re: Solr hardware specs
Hi It all depends on the load your server is under, how many documents you have etc. -- I am not sure what you mean by network connectivity -- solr really should not be run on a publicly accessible IP address. Can you provide some more info on the setup? -Nick On 5/10/08, dudes dudes <[EMAIL PROTECTED]> wrote: > > Hello, > > Can someone kindly advice me on hardware specs (CPU/HHD/RAM) to install solr > on a production server ? We are planning to have it > on Debian. Also what network connectivities does it require (incoming and > outgoing)? > > Thanks fr your time. > ak > _ > Great deals on almost anything at eBay.co.uk. Search, bid, find and win on > eBay today! > http://clk.atdmt.com/UKM/go/msnnkmgl001004ukm/direct/01/
Apostrophes in fields
Hi This is probably more of a lucene question, but: I have an author field, If I query author:"Shelley Ohara" - no results are returned If I query author:"Shelley O'hara" - many results are returned, Is it possible, to get solr to ignore apostrophes in queries like the one above? e.g. doc Shelley O'Hara true long descirption 9780764559747 Paperback IDGP Kierkegaard Within Your Grasp 2004 Thanks -- - Nick
Re: Apostrophes in fields
Hi Jeff, Bertrand THanks for your help, The analyzers I am using are the same as in the example schema.xml Author field: analysis result: http://nickjenkin.com/misc/solr.jpg It appears to be matching author:"Shelley Ohara" but when I do this search no results are returned, searches like author:"Shelley O hara", author:"Shelley O'hara" work as expected. Any ideas? Thanks -Nick On 1/16/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 1/16/07, Jeff Rodenburg <[EMAIL PROTECTED]> wrote: > Nick - this depends on the analyzer used to index the field as well as the > analyzer used in your search query Note that the Solr "analysis" page, in the admin interface, allows you to see exactly how your field's content is converted for indexing. There's an example at http://www.xml.com/lpt/a/1668 in the "Content Analysis" part of the article. -Bertrand -- - Nick
Re: Apostrophes in fields
Using the fuzzy searching fixed the problem - I will have a play with the analzyers and see if I can get it working nicely. Thanks again, much apreciated. On 1/17/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : This problem is why some sloppiness is recommended when dealing with : WordDelimiterFilter. particularly when using the generate___Parts="true" options Nick: if you want simpler matching like this, you might want to consider simplifying your definition of "text" ... if you look at the "textTight" fieldtype in the example shema (used by the field "sku") you'll see a simpler usage of WordDelimiterFilter ... alternately you may just want to use lucene's basic StandardAnalzyer ... i believe it strips Apostrophes. as a real last resort, you could use the recently added PatternReplaceFilter to strip out apostrophe's prior to WordDelimiterFilter (if you like everything WordDelim does for you except spliting on apostrophes) : - optionally index ohara at *both* "o" and "hara" then searching for "Shelley ohara memorial" fails without unless yo have slop .. if you need slop, you might as well not index it twice (not to mention it throws off the tf/idf calculations) : - pick the "alignment" based on the token position in the stream... : right-justify the catenations if it's the first token, otherwise : left-justify. One could try to identify proper names and do the : justification correctly too (blech). oh for the love of god please no. -Hoss -- - Nick
Solr Sorting, merging/weighting sort fields
Hi all, I have a popularity field in my solr index, this field is a popularity rating of a particular product (based on the number of product views etc). I want to be able to integrate this number into the search result sorting such that a product with a higher popularity rating is ranking higher in the search results. I can always do: title:(harry potter); popularity desc, score desc; In this example I will say be searching for harry potter books, obviously the latest book has a very high popularity rating, but lets say a completely unrelated product with a high popularity also matches for harry potter and gets into the search results (but has a very low score value), this will bring it to the top of the results. I want to be able to weight popularity in such a way that it boosts the score, but will not greatly affect the search results. Is this possible? Thanks -- - Nick
Re: Solr Sorting, merging/weighting sort fields
Thanks, worked perfectly! -Nick On 5/10/07, Walter Underwood <[EMAIL PROTECTED]> wrote: No problem. Use a boost function. In a DisMaxRequestHandler spec in solrconfig.xml, specify this: popularity^0.5 This value will be added to the score before ranking. You will probably need to fuss with the multiplier to get the popularity to the right proportion of the total score. I find it handy to return the score and the popularity value and look over a few test queries to adjust that. wunder On 5/9/07 4:58 PM, "Nick Jenkin" <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a popularity field in my solr index, this field is a popularity > rating of a particular product (based on the number of product views > etc). > > I want to be able to integrate this number into the search result > sorting such that a product with a higher popularity rating is ranking > higher in the search results. > > I can always do: > title:(harry potter); popularity desc, score desc; > > In this example I will say be searching for harry potter books, > obviously the latest book has a very high popularity rating, but lets > say a completely unrelated product with a high popularity also matches > for harry potter and gets into the search results (but has a very low > score value), this will bring it to the top of the results. > > I want to be able to weight popularity in such a way that it boosts > the score, but will not greatly affect the search results. > > Is this possible? > > Thanks -- - Nick
Re: Question about delete
Hi James, As I understand it numDocs is the number of documents in your index, maxDoc is the most documents you have ever had in your index. You currently have no documents in your index by the looks, thus your delete query must of deleted everything. That would be why you are getting no results. -Nick On 5/10/07, James liu <[EMAIL PROTECTED]> wrote: i use command like this > curl http://localhost:8983/solr/update --data-binary 'name:DDR' > curl http://localhost:8983/solr/update --data-binary '' > > and i get > numDocs : 0 > maxDoc : 1218819 > when i search something which exists in before delete and find nothing. but index file size not changed and maxDoc not changed. why it happen? -- regards jl -- - Nick
Re: Solr Sorting, merging/weighting sort fields
Hi Otis I used a boosting function, bf pointed me in the right direction :) I actually used the _val_ hack, so query foo:bar _val_:"ord(popularity)^0.5", still playing with it though its still skewing results a bit to much. -Nick On 5/11/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: Is this correct? bf is a boosting function, so a function is needed there, no? e.g. ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3 If I'm not missing someting, the ^0.5 is just a boost, and "popularity" is just a (numeric) field. So boosting a numeric field wouldn't make sense, but appying it to a function would. Am I missing something? Thanks, Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: Walter Underwood <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Wednesday, May 9, 2007 8:05:53 PM Subject: Re: Solr Sorting, merging/weighting sort fields No problem. Use a boost function. In a DisMaxRequestHandler spec in solrconfig.xml, specify this: popularity^0.5 This value will be added to the score before ranking. You will probably need to fuss with the multiplier to get the popularity to the right proportion of the total score. I find it handy to return the score and the popularity value and look over a few test queries to adjust that. wunder On 5/9/07 4:58 PM, "Nick Jenkin" <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a popularity field in my solr index, this field is a popularity > rating of a particular product (based on the number of product views > etc). > > I want to be able to integrate this number into the search result > sorting such that a product with a higher popularity rating is ranking > higher in the search results. > > I can always do: > title:(harry potter); popularity desc, score desc; > > In this example I will say be searching for harry potter books, > obviously the latest book has a very high popularity rating, but lets > say a completely unrelated product with a high popularity also matches > for harry potter and gets into the search results (but has a very low > score value), this will bring it to the top of the results. > > I want to be able to weight popularity in such a way that it boosts > the score, but will not greatly affect the search results. > > Is this possible? > > Thanks
Re: How to run solr on command line ?
Hi Laxmilal If you are running solr for the first time, I would suggest taking a look at the example. The example is located in the "example" directory, this is a stand alone fully working version. so cd into the example directory, and type: java -jar start.jar You will need the java 1.5 runtime. It would also be a good idea to have a look at the tutorial http://lucene.apache.org/solr/tutorial.html it gives detailed steps on how to get the example running. -Nick On 5/18/07, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: Hello everyone, Have anyone knows how to run solr on command line ? -- Thanks in advance, Laxmilal menaria http://www.minalyzer.com/ http://www.chambal.com/
Re: how to use function queries
Hi Mike Try: _val_:"recip(rord(date),1,1000,1000)^2" -Nick On 5/22/07, mike topper <[EMAIL PROTECTED]> wrote: I'm trying to retrieve results from solr such that newer documents' scores are boosted. From the solr wiki it states that I should use a function query to influence the score but I'm a little confused on howto use a function query. Searching through the archives I found a suggestion of using the _val_: hack in the standard query handler, but when i tried that with recip(rord(date),1,1000,1000)^2 to just test it I got an error saying org.apache.solr.core.SolrException: undefined field recip Can someone explain the function queries a little clearer and if I would need to use a different query handler? -Mike
Re: question regarding sorting
Hi James I think this feature is in 1.2, which is not released yet (in CVS/nightly) From http://wiki.apache.org/solr/StandardRequestHandler "Note, in solr1.1 the query and sort parameter were combined as a single parameter separated with a ';' (q="name:solr; date desc"). Since solr1.2, it is recommend to use the "sort" parameter described in CommonQueryParameters." -Nick On 5/24/07, James O'Rourke <[EMAIL PROTECTED]> wrote: I am having strange behaviour experimenting with the example solr server. Via the tutorial - except I set up my own schema. Anyway, here's the issue - if I provide the explicit "sort" param in my request, the sort does not seem to execute, however if I have the encoded sort via using "; field desc" for example, sorting does work. Is this expected behaviour? Is there something I'm missing. Eg; This does not sort: http://localhost:8983/solr/select/?indent=on&q=24&sort=lastmodified% 20desc&fl=uniquekey,lastmodified This does: http://localhost:8983/solr/select/?indent=on&q=24;%20lastmodified% 20asc&fl=uniquekey,lastmodified Anyone know why? James
Re: How can I use dates to boost my results?
Hi Daniel You can use a boosting function, In the dismax request handler insert the following: recip(rord(created),1,1000,1000) Obviously you will need to modify the values a bit, more info here: http://wiki.apache.org/solr/FunctionQuery -Nick On 6/9/07, Daniel Alheiros <[EMAIL PROTECTED]> wrote: Hi For my search use, the document freshness is a relevant aspect that should be considered to boost results. I have a field in my index like this: How can I make a good use of this to boost my results? I'm using the DisMaxRequestHandler to boost other textual fields based on the query, but it would improve the results quality a lot if the date where considered to define the score. Best Regards, Daniel http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Re: How to use SolrQuery PHP
Hi Tiong My suggestion would be to write your own using the SolrQuery script as a guide. But did you change define('SOLR_META_QUERY', '127.0.0.1:8080'); so that it points to your solr server? (Which is most likely define('SOLR_META_QUERY', 'localhost:8983'); -Nick On 6/10/07, Tiong Jeffrey <[EMAIL PROTECTED]> wrote: Hi all, I am trying to send a query to Solr from my PHP script and retrieve the results. I found this script on the wiki http://wiki.apache.org/solr/SolPHP I tried to use it but I guess I didn't use it correctly, there wasn't any result appear (blank). Below is my simple code to use the Solrquery class. $query = new SolrQuery; $query->limit = 10; $query->group_id = 1; $results = $query->runQuery(water); echo $results; Can anyone tell me what is wrong with this? And if there is any other way to do this? Thanks!
Re: To make sure XML is UTF-8
2. I then wrote a small PHP script that draw all the value from all the fields from mysql and then write it into an xml file You might find the utf8_encode & utf8_decode php functions useful, http://nz2.php.net/utf8_encode http://nz2.php.net/utf8_decode $utf8string = utf8_encode($row['column']); -Nick On 6/10/07, Ken Krugler <[EMAIL PROTECTED]> wrote: >This is how the whole process looks like - > >1. I have a web page that I want to index. So I first copy that web page, >breaking it down to different section, and store it in mysql into different >column >2. I then wrote a small PHP script that draw all the value from all the >fields from mysql and then write it into an xml file >3. I then use solr to index this xml file, and the error that appears half >way during indexing is - "FATAL: Connection error (is Solr running at >http://localhost/solr/update >?): java.io.IOException: Server returned HTTP Response code: 500 for URL: >http://local/solr/update"; >4.Although the error code doesnt specify is XML utf-8 code error, but I did >a bit research, and look at the XML file that i have, it doesn't fulfill the >utf-8 encoding > >I have been trying these for couple of hours, but still to no avail. I would >like to find out >1. How to know the webpage that I copy into my mysql is what coding? The charset can be in the response header, and/or the meta tags for the page. See http://krugle.com/kse/files/svn/svn.apache.org/lucene/nutch/trunk/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java for code used by Nutch for this. Or it could be missing from both. Or it could be wrong for either/both. The issue of determining the right charset for an arbitrary web page isn't an easy one. If you have some way of doing analysis in advance such that you know for sure it's always X, that's going to simplify things for you. >2. at what point of this whole process should I convert it to UTF-8? As soon as possible - which means right when you're processing the page. >I tried >change the collation in mysql for all the columns to UTF-8 from >latin1-swedish, but it still doesnt work Collation settings in the DB change how the DB interprets the data, but it doesn't change the data itself. -- Ken >On 6/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >>> Thought this is not directly related to Solr, but I have a XML output >>from >>> mysql database, but during indexing the XML output is not working. And >>the >>> problem is part of the XML output is not in UTF-8 encoding, how can I >>> convert it to UTF-8 and how do I know what kind of coding it uses in the >>> first place (the data I export from the mysql database). Thanks! >> >>How do you generate XML output? "Output" itself is usually a raw byte >>array, it uses "Transport" and "Encoding". If you save it in a file >>system and forget about "transport-layer-encoding" you will get some >>new problems... >> >>> during indexing the XML output is not working >>- what exactly happens, which kind of error messages? -- Ken Krugler Krugle, Inc. +1 530-210-6378 "If you can't find it, you can't fix it"
Re:
I am doing a full index daily (3,000,000 documents) without using optimize, no problems at all, if that helps. Also note that you don't need to delete all your documents, if delete your documents search won't return any results until you have re-added the documents! You should do a regular commit between inserts (I do one every 10,000) otherwise you might get out-of-memory errors. -Nick On 6/20/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Works ok. But I've noticed that the faq recommends issuing : before reindexing. The problem is also seems to commit : changes, so the index is empty until I reindex and the search can't be : online. please note what question that recomendation appears in... "How can I rebuild my index from scratch if I change my schema?" If you are not changing your schema, then that answer does not apply to you. deleting documents and reading them (without optimizing fist) is perfectly fine. : Will sending after reindexing help? if your index only changes in big batches then it's almost always beneficial to do an optimize after your indexing. -Hoss
Re: page rank
Also if you are using the standard request handler you can use the "val" hack: foo:"bar" _val_:"recip(rord(numberField),1,1000,1000)" You can find more info about this here: http://wiki.apache.org/solr/FunctionQuery -Nick On 6/21/07, Daniel Alheiros <[EMAIL PROTECTED]> wrote: Hi David. Yes you can. Just define a field as a slong type field: It can be used to sort (&sort=numberField desc) or to boost your score (it will depend on the RequestHandler you are going to use). In terms of score which RequestHandler are you planning to use? If using dismax you can define a boost function: recip(rord(numberField),1,1000,1000) I hope it helps. Regards, Daniel Alheiros On 20/6/07 16:47, "David Xiao" <[EMAIL PROTECTED]> wrote: > Hello folks, > > > > I am using solr to index web contents. I want to know is that possible to tell > solr about rank information of contents? > > For example, I give each content an integer number. > > > > And I hope solr take this number into consideration when it generates search > result. (larger number, more priority) > > > > Best Regards, > > David > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Re: page rank
Hi David 1) you will have to re-add the documents, solr does not support an update operation (only add/del) 2) same as above, solr does not support an update operation, you will need to re-add the document with the updated numberField, if its any help I have a popularity field in my index (3 million documents) which gets updated daily with no performance issues. 3) What query handler are you using, dismax or standard? dismax is when you send keywords and a lucene query is generated standard is when you create your own lucene query -Nick On 6/23/07, David Xiao <[EMAIL PROTECTED]> wrote: I have a few more questions base on your kindly replies to my first question. 1. My solr instance already indexed hundreds of thousands of documents, so how can I update these documents to add new field "numberField" 2. In runtime, my application might want to update value of "numberField" very frequency. How to achieve that via solr? Is that performance critical if many documents need to be updated? 3. Even I have check below wiki page for FunctionQuery, it is still not clear to me to understand this quoted words: " > In terms of score which RequestHandler are you planning to use? > If using dismax you can define a boost function: > recip(rord(numberField),1,1000,1000) " With it, how to let solr take into consideration of this numberField (kind of popularity factor)? Would it be possible to give me an example please? Best Regards, David -Original Message- From: Nick Jenkin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 6:30 AM To: solr-user@lucene.apache.org Subject: Re: page rank Also if you are using the standard request handler you can use the "val" hack: foo:"bar" _val_:"recip(rord(numberField),1,1000,1000)" You can find more info about this here: http://wiki.apache.org/solr/FunctionQuery -Nick On 6/21/07, Daniel Alheiros <[EMAIL PROTECTED]> wrote: > Hi David. > > Yes you can. > > Just define a field as a slong type field: > > > > It can be used to sort (&sort=numberField desc) or to boost your score (it > will depend on the RequestHandler you are going to use). > > In terms of score which RequestHandler are you planning to use? > If using dismax you can define a boost function: > recip(rord(numberField),1,1000,1000) > > I hope it helps. > > Regards, > Daniel Alheiros > > On 20/6/07 16:47, "David Xiao" <[EMAIL PROTECTED]> wrote: > > > Hello folks, > > > > > > > > I am using solr to index web contents. I want to know is that possible to tell > > solr about rank information of contents? > > > > For example, I give each content an integer number. > > > > > > > > And I hope solr take this number into consideration when it generates search > > result. (larger number, more priority) > > > > > > > > Best Regards, > > > > David > > > > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > >
Re: Use Windows 1252 encoding...
Have you tried using the PHP functions utf8_decode/utf8_encode? As far as I understand only UTF8 is supported (but I could be wrong on that!) -Nick On 6/23/07, escher2k <[EMAIL PROTECTED]> wrote: Is it possible to use Windows 1252 encoding instead of UTF-8 for Solr ? The application runs on Linux/JDK 1.5. We are using PHP for the front end. The problem we are having is that some characters are displayed weirdly owing to the encoding. Thanks. -- View this message in context: http://www.nabble.com/Use-Windows-1252-encoding...-tf3967676.html#a11262259 Sent from the Solr - User mailing list archive at Nabble.com.
Re: i wanna change response type to PHP serialize
Hi James I think you would be better of outputting an PHP array, and running eval() over it, the PHP serialize format is quite complicated. On that note, you might be interested in: http://issues.apache.org/jira/browse/SOLR-196 -Nick On 6/25/07, James liu <[EMAIL PROTECTED]> wrote: which files i should change from source? and if i change ok. how to compile? just ant dist? -- regards jl
Re: i wanna change response type to PHP serialize
I am also quite interested in getting a serialized PHP array response writer, after some investigation it doesn't seem as difficult as I first thought, I will have a try at implementing this when I get some time, the format of the array would probably end up being the same as if you were to use json_decode. -Nick On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote: I am also looking for a PHP response writer that outputs serialized PHP code, I've taken a look at SOLR-196<http://issues.apache.org/jira/browse/SOLR-196>but it's not quite what I need. Unless anyone else has started implementing one, I will see if I can modify Paul's patch to do the task. cheers, Tristan On 6/25/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: > > My experience tells me that serializing/unserializing tends to be faster > than eval(), especially on larger arrays. I've looked at the code, trying > to put together a PHP serialized array output type, but haven't had > success > doing it yet. If I do, it'll be contributed back, but until someone does > that version, the way Nick suggests is probably the only option. > > > On 6/25/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: > > > > Hi James > > I think you would be better of outputting an PHP array, and running > > eval() over it, the PHP serialize format is quite complicated. > > > > On that note, you might be interested in: > > http://issues.apache.org/jira/browse/SOLR-196 > > -Nick > > > > On 6/25/07, James liu <[EMAIL PROTECTED]> wrote: > > > which files i should change from source? > > > > > > and if i change ok. > > > > > > how to compile? just ant dist? > > > > > > -- > > > regards > > > jl > > > > > > > > > -- > Michael Kimsal > http://webdevradio.com >
Re: i wanna change response type to PHP serialize
I have some good news :o) https://issues.apache.org/jira/browse/SOLR-275 Please let me know if you find any bugs Thanks -Nick On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: I think it simple to u. so i wait for ur good news. 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > I am also quite interested in getting a serialized PHP array response > writer, after some investigation it doesn't seem as difficult as I > first thought, I will have a try at implementing this when I get some > time, the format of the array would probably end up being the same as > if you were to use json_decode. > -Nick > > On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote: > > I am also looking for a PHP response writer that outputs serialized PHP > > code, I've taken a look at > > SOLR-196<http://issues.apache.org/jira/browse/SOLR-196>but it's not > > quite what I need. Unless anyone else has started implementing > > one, I will see if I can modify Paul's patch to do the task. > > > > cheers, > > Tristan > > > > > > > > On 6/25/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: > > > > > > My experience tells me that serializing/unserializing tends to be > faster > > > than eval(), especially on larger arrays. I've looked at the code, > trying > > > to put together a PHP serialized array output type, but haven't had > > > success > > > doing it yet. If I do, it'll be contributed back, but until someone > does > > > that version, the way Nick suggests is probably the only option. > > > > > > > > > On 6/25/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi James > > > > I think you would be better of outputting an PHP array, and running > > > > eval() over it, the PHP serialize format is quite complicated. > > > > > > > > On that note, you might be interested in: > > > > http://issues.apache.org/jira/browse/SOLR-196 > > > > -Nick > > > > > > > > On 6/25/07, James liu <[EMAIL PROTECTED]> wrote: > > > > > which files i should change from source? > > > > > > > > > > and if i change ok. > > > > > > > > > > how to compile? just ant dist? > > > > > > > > > > -- > > > > > regards > > > > > jl > > > > > > > > > > > > > > > > > > > > > -- > > > Michael Kimsal > > > http://webdevradio.com > > > > > > -- regards jl
Re: i wanna change response type to PHP serialize
Interesting, what version of solr are you using, I tested on 1.2. -Nick On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: i just cp it to src\java\org\apache\solr\request and ant dist...i think maybe my method is wrong. same error infromation... java.lang.NoClassDefFoundError: org/apache/solr/search/ScorePriorityQueue at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:886) at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:805) at org.apache.solr.search.SolrIndexSearcher.getDocList(SolrIndexSearcher.java:698) at org.apache.solr.request.StandardRequestHandler.handleRequestBody(StandardRequestHandler.java:122) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:77) at org.apache.solr.core.SolrCore.execute(SolrCore.java:658) at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:66) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:185) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Unknown Source) 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > I have some good news :o) > > https://issues.apache.org/jira/browse/SOLR-275 > > Please let me know if you find any bugs > Thanks > -Nick > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > I think it simple to u. > > > > so i wait for ur good news. > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > I am also quite interested in getting a serialized PHP array response > > > writer, after some investigation it doesn't seem as difficult as I > > > first thought, I will have a try at implementing this when I get some > > > time, the format of the array would probably end up being the same as > > > if you were to use json_decode. > > > -Nick > > > > > > On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote: > > > > I am also looking for a PHP response writer that outputs serialized > PHP > > > > code, I've taken a look at > > > > SOLR-196<http://issues.apache.org/jira/browse/SOLR-196>but it's not > > > > quite what I need. Unless anyone else has started implementing > > > > one, I will see if I can modify Paul's patch to do the task. > > > > > > > > cheers, > > > > Tristan > > > > > > > > > > > > > > > > On 6/25/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: > > > > > > > > > > My experience tells me that serializing/unserializing tends to be > > > faster > > > > > than eval(), especially on larger arrays. I've looked at the > code, > > > trying > > > > > to put together a PHP serialized array output type, but haven't > had > > > > > success > > > > > doing it yet. If I do, it'll be contributed back, but until > someone > > > does > > > > > that version, the way Nick suggests is probably the only option. > > > > > > > > > > > > > > > On 6/25/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi James > >
Re: i wanna change response type to PHP serialize
Hey James, The error you posted is the same you posted above in a previous email, could it be something else? -Nick On 6/26/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: Interesting, what version of solr are you using, I tested on 1.2. -Nick On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > i just cp it to src\java\org\apache\solr\request and ant dist...i think > maybe my method is wrong. > > same error infromation... > > java.lang.NoClassDefFoundError: org/apache/solr/search/ScorePriorityQueue > at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:886) > at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:805) > at org.apache.solr.search.SolrIndexSearcher.getDocList(SolrIndexSearcher.java:698) > at org.apache.solr.request.StandardRequestHandler.handleRequestBody(StandardRequestHandler.java:122) > at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:77) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:658) > at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:66) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:185) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) > at java.lang.Thread.run(Unknown Source) > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > I have some good news :o) > > > > https://issues.apache.org/jira/browse/SOLR-275 > > > > Please let me know if you find any bugs > > Thanks > > -Nick > > > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > > I think it simple to u. > > > > > > so i wait for ur good news. > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > I am also quite interested in getting a serialized PHP array response > > > > writer, after some investigation it doesn't seem as difficult as I > > > > first thought, I will have a try at implementing this when I get some > > > > time, the format of the array would probably end up being the same as > > > > if you were to use json_decode. > > > > -Nick > > > > > > > > On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote: > > > > > I am also looking for a PHP response writer that outputs serialized > > PHP > > > > > code, I've taken a look at > > > > > SOLR-196<http://issues.apache.org/jira/browse/SOLR-196>but it's not > > > > > quite what I need. Unless anyone else has started implementing > > > > > one, I will see if I can modify Paul's patch to do the task. > > > > > > > > > > cheers, > > > > > Tristan > > > > > > > > > > > > > > > > > > > > On 6/25/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > My experience tells me that serializing/unserializing tends to be > > > > faster > > > > > > than eval(), especially on larger arrays. I've looked at the > > code, > > > > trying > > > > > > to put together a PHP serialized array output type, but h
Re: i wanna change response type to PHP serialize
If you are using the example provided in 1.2 (using jetty) you need to use "ant example" rather than "ant dist" -Nick On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: Yes, i use 1.2my compile method: download solr 1.2 and modify file by your patch. use `ant dist` to compile it. no error show. i can see its admin gui, but i wanna try search, it will show me the error information, Is my compile method right? if not, show me how to compile it. it seems very strange ,only me fail? anyone have same question? if free, maybe u zip your solr to me by mail...and i try it again. 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > Interesting, what version of solr are you using, I tested on 1.2. > -Nick > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > i just cp it to src\java\org\apache\solr\request and ant dist...i think > > maybe my method is wrong. > > > > same error infromation... > > > > java.lang.NoClassDefFoundError: > org/apache/solr/search/ScorePriorityQueue > > at org.apache.solr.search.SolrIndexSearcher.getDocListNC( > SolrIndexSearcher.java:886) > > at org.apache.solr.search.SolrIndexSearcher.getDocListC( > SolrIndexSearcher.java:805) > > at org.apache.solr.search.SolrIndexSearcher.getDocList( > SolrIndexSearcher.java:698) > > at > org.apache.solr.request.StandardRequestHandler.handleRequestBody( > StandardRequestHandler.java:122) > > at org.apache.solr.handler.RequestHandlerBase.handleRequest( > RequestHandlerBase.java:77) > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:658) > > at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java > :66) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:290) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:206) > > at org.apache.solr.servlet.SolrDispatchFilter.doFilter( > SolrDispatchFilter.java:185) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:235) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:206) > > at org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:228) > > at org.apache.catalina.core.StandardContextValve.invoke( > StandardContextValve.java:175) > > at org.apache.catalina.core.StandardHostValve.invoke( > StandardHostValve.java:128) > > at org.apache.catalina.valves.ErrorReportValve.invoke( > ErrorReportValve.java:104) > > at org.apache.catalina.core.StandardEngineValve.invoke( > StandardEngineValve.java:109) > > at org.apache.catalina.connector.CoyoteAdapter.service( > CoyoteAdapter.java:216) > > at org.apache.coyote.http11.Http11Processor.process( > Http11Processor.java:844) > > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( > Http11Protocol.java:634) > > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( > JIoEndpoint.java:445) > > at java.lang.Thread.run(Unknown Source) > > > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > I have some good news :o) > > > > > > https://issues.apache.org/jira/browse/SOLR-275 > > > > > > Please let me know if you find any bugs > > > Thanks > > > -Nick > > > > > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > > > I think it simple to u. > > > > > > > > so i wait for ur good news. > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > > > I am also quite interested in getting a serialized PHP array > response > > > > > writer, after some investigation it doesn't seem as difficult as I > > > > > first thought, I will have a try at implementing this when I get > some > > > > > time, the format of the array would probably end up being the same > as > > > > > if you were to use json_decode. > > > > > -Nick > > > > > > > > > > On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote: > > > > > > I am also looking for a PHP response writer that outputs > serialized > > > PHP >
Re: i wanna change response type to PHP serialize
http://nickjenkin.com/misc/apache-solr-1.2.0-php-serialize.tar.gz Try that -Nick On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: i use tomcat ,, send ur solr version to me...i try it again.. 2007/6/27, Nick Jenkin <[EMAIL PROTECTED]>: > > If you are using the example provided in 1.2 (using jetty) you need to > use "ant example" > rather than "ant dist" > > -Nick > > On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: > > Yes, i use 1.2my compile method: > > download solr 1.2 and modify file by your patch. > > > > use `ant dist` to compile it. no error show. > > > > i can see its admin gui, but i wanna try search, it will show me the > error > > information, > > > > Is my compile method right? if not, show me how to compile it. > > > > it seems very strange ,only me fail? anyone have same question? > > > > if free, maybe u zip your solr to me by mail...and i try it again. > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > Interesting, what version of solr are you using, I tested on 1.2. > > > -Nick > > > > > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > > > i just cp it to src\java\org\apache\solr\request and ant dist...i > think > > > > maybe my method is wrong. > > > > > > > > same error infromation... > > > > > > > > java.lang.NoClassDefFoundError: > > > org/apache/solr/search/ScorePriorityQueue > > > > at org.apache.solr.search.SolrIndexSearcher.getDocListNC( > > > SolrIndexSearcher.java:886) > > > > at org.apache.solr.search.SolrIndexSearcher.getDocListC( > > > SolrIndexSearcher.java:805) > > > > at org.apache.solr.search.SolrIndexSearcher.getDocList( > > > SolrIndexSearcher.java:698) > > > > at > > > org.apache.solr.request.StandardRequestHandler.handleRequestBody( > > > StandardRequestHandler.java:122) > > > > at org.apache.solr.handler.RequestHandlerBase.handleRequest( > > > RequestHandlerBase.java:77) > > > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:658) > > > > at org.apache.solr.servlet.SolrServlet.doGet( > SolrServlet.java > > > :66) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java > :690) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java > :803) > > > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > > > ApplicationFilterChain.java:290) > > > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > > > ApplicationFilterChain.java:206) > > > > at org.apache.solr.servlet.SolrDispatchFilter.doFilter( > > > SolrDispatchFilter.java:185) > > > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > > > ApplicationFilterChain.java:235) > > > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > > > ApplicationFilterChain.java:206) > > > > at org.apache.catalina.core.StandardWrapperValve.invoke( > > > StandardWrapperValve.java:228) > > > > at org.apache.catalina.core.StandardContextValve.invoke( > > > StandardContextValve.java:175) > > > > at org.apache.catalina.core.StandardHostValve.invoke( > > > StandardHostValve.java:128) > > > > at org.apache.catalina.valves.ErrorReportValve.invoke( > > > ErrorReportValve.java:104) > > > > at org.apache.catalina.core.StandardEngineValve.invoke( > > > StandardEngineValve.java:109) > > > > at org.apache.catalina.connector.CoyoteAdapter.service( > > > CoyoteAdapter.java:216) > > > > at org.apache.coyote.http11.Http11Processor.process( > > > Http11Processor.java:844) > > > > at > > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( > > > Http11Protocol.java:634) > > > > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( > > > JIoEndpoint.java:445) > > > > at java.lang.Thread.run(Unknown Source) > > > > > > > > > > > > > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > > > I have some good news :o) > > > > > > > > > > https://issues.apache.org/jira/br
Re: i wanna change response type to PHP serialize
Hi James It is totally not optimized, when you say change your content into ???, I assume this is because of UTF8 issues, are you using utf8_decode etc? Thanks -Nick On 6/28/07, James liu <[EMAIL PROTECTED]> wrote: It is slower than json and xml,,,and it will change my content into ??? when i use json , content is ok. afternoon, iwill read ur code. 2007/6/27, James liu <[EMAIL PROTECTED]>: > > ok,,thks nick,,,i just forget replace jar file.. > > wait a minute i will test speed... > > > > 2007/6/27, Nick Jenkin <[EMAIL PROTECTED]>: > > > > http://nickjenkin.com/misc/apache-solr-1.2.0-php-serialize.tar.gz > > > > Try that > > -Nick > > > > On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: > > > i use tomcat ,, send ur solr version to me...i try it again.. > > > > > > 2007/6/27, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > If you are using the example provided in 1.2 (using jetty) you need > > to > > > > use "ant example" > > > > rather than "ant dist" > > > > > > > > -Nick > > > > > > > > On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: > > > > > Yes, i use 1.2my compile method: > > > > > download solr 1.2 and modify file by your patch. > > > > > > > > > > use `ant dist` to compile it. no error show. > > > > > > > > > > i can see its admin gui, but i wanna try search, it will show me > > the > > > > error > > > > > information, > > > > > > > > > > Is my compile method right? if not, show me how to compile it. > > > > > > > > > > it seems very strange ,only me fail? anyone have same question? > > > > > > > > > > if free, maybe u zip your solr to me by mail...and i try it again. > > > > > > > > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED] >: > > > > > > > > > > > > Interesting, what version of solr are you using, I tested on 1.2 > > . > > > > > > -Nick > > > > > > > > > > > > On 6/26/07, James liu < [EMAIL PROTECTED]> wrote: > > > > > > > i just cp it to src\java\org\apache\solr\request and ant > > dist...i > > > > think > > > > > > > maybe my method is wrong. > > > > > > > > > > > > > > same error infromation... > > > > > > > > > > > > > > java.lang.NoClassDefFoundError: > > > > > > org/apache/solr/search/ScorePriorityQueue > > > > > > > at > > org.apache.solr.search.SolrIndexSearcher.getDocListNC( > > > > > > SolrIndexSearcher.java:886) > > > > > > > at > > org.apache.solr.search.SolrIndexSearcher.getDocListC ( > > > > > > SolrIndexSearcher.java:805) > > > > > > > at org.apache.solr.search.SolrIndexSearcher.getDocList > > ( > > > > > > SolrIndexSearcher.java:698) > > > > > > > at > > > > > > org.apache.solr.request.StandardRequestHandler.handleRequestBody > > ( > > > > > > StandardRequestHandler.java:122) > > > > > > > at > > org.apache.solr.handler.RequestHandlerBase.handleRequest ( > > > > > > RequestHandlerBase.java:77) > > > > > > > at org.apache.solr.core.SolrCore.execute(SolrCore.java > > :658) > > > > > > > at org.apache.solr.servlet.SolrServlet.doGet ( > > > > SolrServlet.java > > > > > > :66) > > > > > > > at javax.servlet.http.HttpServlet.service( > > HttpServlet.java > > > > :690) > > > > > > > at javax.servlet.http.HttpServlet.service ( > > HttpServlet.java > > > > :803) > > > > > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > ( > > > > > > ApplicationFilterChain.java:290) > > > > > > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter( > > > > > > ApplicationFilterChain.java:206) > > > > > > > at org.apache.solr.servlet.SolrDispatchFilter.doFilter( > > > > > > SolrDispatchFilter.java:185) > > > > > > &g
Re: i wanna change response type to PHP serialize
Are you able to attach a file of serialized (direct php serialized output from solr) result so I can test? Thanks -Nick On 6/28/07, James liu <[EMAIL PROTECTED]> wrote: code not change,,,and i not use utf8_decodeshould do it? 2007/6/28, Nick Jenkin <[EMAIL PROTECTED]>: > > Hi James > It is totally not optimized, when you say change your content into > ???, I assume this is because of UTF8 issues, are you using > utf8_decode etc? > Thanks > -Nick > On 6/28/07, James liu <[EMAIL PROTECTED]> wrote: > > It is slower than json and xml,,,and it will change my content into ??? > > > > when i use json , content is ok. > > > > afternoon, iwill read ur code. > > > > > > 2007/6/27, James liu <[EMAIL PROTECTED]>: > > > > > > ok,,thks nick,,,i just forget replace jar file.. > > > > > > wait a minute i will test speed... > > > > > > > > > > > > 2007/6/27, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > http://nickjenkin.com/misc/apache-solr-1.2.0-php-serialize.tar.gz > > > > > > > > Try that > > > > -Nick > > > > > > > > On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: > > > > > i use tomcat ,, send ur solr version to me...i try it again.. > > > > > > > > > > 2007/6/27, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > > > > > If you are using the example provided in 1.2 (using jetty) you > need > > > > to > > > > > > use "ant example" > > > > > > rather than "ant dist" > > > > > > > > > > > > -Nick > > > > > > > > > > > > On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: > > > > > > > Yes, i use 1.2my compile method: > > > > > > > download solr 1.2 and modify file by your patch. > > > > > > > > > > > > > > use `ant dist` to compile it. no error show. > > > > > > > > > > > > > > i can see its admin gui, but i wanna try search, it will show > me > > > > the > > > > > > error > > > > > > > information, > > > > > > > > > > > > > > Is my compile method right? if not, show me how to compile it. > > > > > > > > > > > > > > it seems very strange ,only me fail? anyone have same > question? > > > > > > > > > > > > > > if free, maybe u zip your solr to me by mail...and i try it > again. > > > > > > > > > > > > > > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED] >: > > > > > > > > > > > > > > > > Interesting, what version of solr are you using, I tested on > 1.2 > > > > . > > > > > > > > -Nick > > > > > > > > > > > > > > > > On 6/26/07, James liu < [EMAIL PROTECTED]> wrote: > > > > > > > > > i just cp it to src\java\org\apache\solr\request and ant > > > > dist...i > > > > > > think > > > > > > > > > maybe my method is wrong. > > > > > > > > > > > > > > > > > > same error infromation... > > > > > > > > > > > > > > > > > > java.lang.NoClassDefFoundError: > > > > > > > > org/apache/solr/search/ScorePriorityQueue > > > > > > > > > at > > > > org.apache.solr.search.SolrIndexSearcher.getDocListNC( > > > > > > > > SolrIndexSearcher.java:886) > > > > > > > > > at > > > > org.apache.solr.search.SolrIndexSearcher.getDocListC ( > > > > > > > > SolrIndexSearcher.java:805) > > > > > > > > > at > org.apache.solr.search.SolrIndexSearcher.getDocList > > > > ( > > > > > > > > SolrIndexSearcher.java:698) > > > > > > > > > at > > > > > > > > > org.apache.solr.request.StandardRequestHandler.handleRequestBody > > > > ( > > > > > > > > StandardRequestHandler.java:122) > > > > > > > > > at > > > > org.apache.solr.handler.RequestHandlerBase.handleReques
Re: How to use AND / OR with DismaxRequestHandler?
Not sure you can, but if it helps you can use boosting in the standard request handler: post AND lettre _val_:"recip(popularityRank,1,1000,1000)^2.5" -Nick On 7/2/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: 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 of the words * Part of a word This is a bit like the advanced search from google. Can this be done when using the DismaxRequestHandler? I did a test with 2 queries : * post OR lettre * post AND lettre When using the DismaxRequestHandler I get the same search results, with the StandardRequestHandler, the OR query gives me much more results than the AND. Can someone explain to me how to use OR and AND with the DismaxRequestHandler? Thank you.