Re: Solr Javascript+JSON not optimized for SEO

2010-10-25 Thread Nick Jenkin
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 v

Re: Question Solr Index main in RAM

2011-02-27 Thread Nick Jenkin
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

Re: [POLL] - A new logo for Solr

2008-08-01 Thread Nick Jenkin
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 wit

Re: Solr Logo thought

2008-08-21 Thread Nick Jenkin
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

Re: Out of Memory Errors

2008-10-22 Thread Nick Jenkin
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, >>

Re: [VOTE] Community Logo Preferences

2008-11-23 Thread Nick Jenkin
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

dismax parsing applied to specific fields

2009-06-10 Thread Nick Jenkin
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

Re: too often delta imports performance effect

2010-02-15 Thread Nick Jenkin
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

Re: Solr and security

2007-10-25 Thread Nick Jenkin
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

Re: PriceJunkie.com using solr!

2007-11-14 Thread Nick Jenkin
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 >

Re: PriceJunkie.com using solr!

2007-11-16 Thread Nick Jenkin
; 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

Re: Query multiple fields

2007-11-17 Thread Nick Jenkin
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

Re: Solr PHP client

2007-11-20 Thread Nick Jenkin
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

Re: Loading performance slowdown at ~ 400K documents

2008-05-09 Thread Nick Jenkin
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 fro

Re: Solr hardware specs

2008-05-09 Thread Nick Jenkin
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 PROTE

Apostrophes in fields

2007-01-15 Thread Nick Jenkin
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 She

Re: Apostrophes in fields

2007-01-16 Thread Nick Jenkin
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:

Re: Apostrophes in fields

2007-01-16 Thread Nick Jenkin
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 : WordDelimit

Solr Sorting, merging/weighting sort fields

2007-05-09 Thread Nick Jenkin
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 highe

Re: Solr Sorting, merging/weighting sort fields

2007-05-09 Thread Nick Jenkin
eed 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:

Re: Question about delete

2007-05-10 Thread Nick Jenkin
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.

Re: Solr Sorting, merging/weighting sort fields

2007-05-10 Thread Nick Jenkin
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"

Re: How to run solr on command line ?

2007-05-18 Thread Nick Jenkin
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 runtim

Re: how to use function queries

2007-05-22 Thread Nick Jenkin
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

Re: question regarding sorting

2007-05-23 Thread Nick Jenkin
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 re

Re: How can I use dates to boost my results?

2007-06-09 Thread Nick Jenkin
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 PROTE

Re: How to use SolrQuery PHP

2007-06-09 Thread Nick Jenkin
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 <[EMA

Re: To make sure XML is UTF-8

2007-06-09 Thread Nick Jenkin
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'])

Re:

2007-06-19 Thread Nick Jenkin
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

Re: page rank

2007-06-20 Thread Nick Jenkin
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 y

Re: page rank

2007-06-22 Thread Nick Jenkin
ease? 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

Re: Use Windows 1252 encoding...

2007-06-22 Thread Nick Jenkin
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 Lin

Re: i wanna change response type to PHP serialize

2007-06-24 Thread Nick Jenkin
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

Re: i wanna change response type to PHP serialize

2007-06-25 Thread Nick Jenkin
r 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. >

Re: i wanna change response type to PHP serialize

2007-06-26 Thread Nick Jenkin
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]>: > &g

Re: i wanna change response type to PHP serialize

2007-06-26 Thread Nick Jenkin
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 bug

Re: i wanna change response type to PHP serialize

2007-06-26 Thread Nick Jenkin
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]>

Re: i wanna change response type to PHP serialize

2007-06-26 Thread Nick Jenkin
d 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

Re: i wanna change response type to PHP serialize

2007-06-26 Thread Nick Jenkin
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 prov

Re: i wanna change response type to PHP serialize

2007-06-27 Thread Nick Jenkin
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]>: > >

Re: i wanna change response type to PHP serialize

2007-06-27 Thread Nick Jenkin
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]>: > >

Re: How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Nick Jenkin
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, becau