Re: Minor bug with Solritas and price data

2010-06-19 Thread Erik Hatcher
That's not a bug with the example schema, as price is a single-valued field. getFirstValue will work, yes, but isn't necessary when it's single valued. If you've got multiple prices, you probably want something like: #foreach($price in $doc.getFieldValue('price'))$! number.currency($p

Re: Minor bug in Solritas with post-facet search

2010-06-19 Thread Erik Hatcher
Fixed. action URLs really shouldn't have query string parameters on them anyway, nor do they appear to work if so, so I moved the fq's to hidden input fields. Adding the ? into the URLs gets tricky, and doing it in #fqs isn't the right place, as those are often tacked on after other para

Minor bug with Solritas and price data

2010-06-19 Thread Ken Krugler
I noticed that my prices weren't showing up, even though I've got a price field. I think the issue is with this line from hit.vm: #field('name') $! number.currency($doc.getFieldValue('price')) The number.currency() function needs to get passed something that looks like a number, but $do

Minor bug in Solritas with post-facet search

2010-06-19 Thread Ken Krugler
I ran into one minor problem, where if I clicked a facet, and then tried a search, I'd get a 404 error. I think the problem is with the fqs Velocity macro in VM_global_library.vm, where it's missing the #else to insert a '?' into the URL: #macro(fqs $p)#foreach($fq in $p)#if($velocityCoun

Re: Indexing HTML files in SOLR

2010-06-19 Thread Lance Norskog
Ah! You need a SolrJ program that uses Tika to parse the files and upload the text. I think there is such a program already but do not know where it is. Lance On Thu, Jun 17, 2010 at 6:13 AM, seesiddharth wrote: > > Thank you so much for the reply...The link suggested by you is helpful but > the

Re: federated / meta search

2010-06-19 Thread Lance Norskog
https://issues.apache.org/jira/browse/LUCENE-1812 On Fri, Jun 18, 2010 at 7:26 PM, Otis Gospodnetic wrote: > Lance, which project in Solr are you referring to? > > > Thanks, > > Otis > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Lucene ecosystem search :: http://search-lucene.

Re: Autocompletion with Solritas

2010-06-19 Thread Ken Krugler
Hi Erik, On Jun 18, 2010, at 6:58pm, Erik Hatcher wrote: Have a look at suggest.vm - the "name" field is used in there too. Just those two places, layout.vm and suggest.vm. That was the missing change I needed. Thanks much! -- Ken And I had already added a ## TODO in my local suggest

Re: Tips on recursive xml-parsing in dataConfig

2010-06-19 Thread Tor Henning Ueland
The case changed to not using those xml-files at all, i ended up using some other datafiles as sources, witch had everything flat, so no recursion was needed afterall. But thanks for the input! :) Best regards On Tue, Jun 8, 2010 at 11:08 AM, Geert-Jan Brits wrote: > my bad, it looks like XPathE

Use of EmbeddedSolrServer

2010-06-19 Thread Robert Naczinski
Hi, is there a best practice for use of EmbeddedSolrServer? Knows someone a good link besides http://wiki.apache.org/solr/Solrj # EmbeddedSolrServer Regards, Robert

Re: Specifiying multiple mlt.fl fields

2010-06-19 Thread Darren Govoni
It works! Thanks Sascha. I swear I tried that combination. Hehe. On Sat, 2010-06-19 at 21:19 +0200, Sascha Szott wrote: > Hi Darren, > > try mlt.fl=field1 field2 > > Best, > Sascha > > Darren Govoni wrote: > > Hi, > >I read the wiki and tried about a dozen variations such as: > > > > ...&m

Re: Specifiying multiple mlt.fl fields

2010-06-19 Thread Sascha Szott
Hi Darren, try mlt.fl=field1 field2 Best, Sascha Darren Govoni wrote: Hi, I read the wiki and tried about a dozen variations such as: ...&mlt.fl=field1&mlt.fl=field2 and ...&mlt.fl=field1,field2&... to specify more than one MLT field and it won't take. What's the trick? Also, how to do

Specifiying multiple mlt.fl fields

2010-06-19 Thread Darren Govoni
Hi, I read the wiki and tried about a dozen variations such as: ...&mlt.fl=field1&mlt.fl=field2 and ...&mlt.fl=field1,field2&... to specify more than one MLT field and it won't take. What's the trick? Also, how to do it with SolrJ? Nothing I try works. Solr 4.0 nightly build. Any tips, very

Re: performance sorting multivalued field

2010-06-19 Thread Marc Sturlese
Hey Erik, I am currently sorting by a multiValued. It apears a feature tha't you may not know wich of the fields of the multiValued field makes the document be in that position. This is good for me, I don't care for my tests. What I need to know if there is any performance issue in all of this. Th

Re: Non-prefix, hierarchical autocomplete? Would SOLR-1316 work? Solritas?

2010-06-19 Thread Andy
Forgot to add, I would like to order the autocomplete suggestions for tags/cities based on how many times they are present in the documents. --- On Sat, 6/19/10, Andy wrote: > From: Andy > Subject: Non-prefix, hierarchical autocomplete? Would SOLR-1316 work? > Solritas? > To: solr-user@lucene

Non-prefix, hierarchical autocomplete? Would SOLR-1316 work? Solritas?

2010-06-19 Thread Andy
Hi, I've seen some posts on using SOLR-1316 or Solritas for autocomplete. Wondered what is the best solution for my use case: 1) I would like to have an "hierarchical" autocomplete. For example, I have a "Country" dropdown list and a "City" textbox. A user would select a country from the dropd