SolrJ: clusters, labels, docs - search results

2012-05-21 Thread okayndc
Hello, Was wondering how to access the cluster labels, and docs(ids) via SolrJ? I have added the following: query.seParam("q", userQuery); query.setParam("clustering", true); query.setParam("qt", "/core2/clustering"); query.setParam("carrot.title", "title"); But how to access

Re: solr: adding a string on to a field via DIH

2012-05-05 Thread okayndc
former> > > Or did you have something different in mind? > > -- Jack Krupansky > > -Original Message- From: okayndc > Sent: Saturday, May 05, 2012 9:12 AM > To: solr-user@lucene.apache.org > Subject: solr: adding a string on to a field via DIH > > > Hello, &g

solr: adding a string on to a field via DIH

2012-05-05 Thread okayndc
Hello, Is it possible to concatenate a field via DIH? For example for the id field, in order to make it unique I want to add 'project' to the beginning of the id field. So the field would look like 'project1234' Is this possible? Thanks

Re: how to present html content in browse

2012-05-04 Thread okayndc
/browse/SOLR-42> > > > -- Jack Krupansky > > -Original Message- From: okayndc > Sent: Friday, May 04, 2012 4:35 PM > > To: solr-user@lucene.apache.org > Subject: Re: how to present html content in browse > > Is it possible to return the HTML field highlighted?

Re: how to present html content in browse

2012-05-04 Thread okayndc
nt to call that field type "text_stripped" to avoid > confusion with a simple text field > > You can add HTMLStripCharFilterFactory to some other field type that you > might want to use, but this "charFilter" needs to be before the > "tokenizer". The "

Re: how to present html content in browse

2012-05-04 Thread okayndc
Hello, I'm having a hard time understanding this, and I had this same question. When using DIH should the HTML field be stored in the raw HTML string field or the stripped field? Also what source field(s) need to be copied and to what destination? Thanks On Thu, May 3, 2012 at 10:15 PM, Lance

Re: solr: how to change display name of a facet?

2012-05-03 Thread okayndc
Awesome, thanks! On Thu, May 3, 2012 at 2:32 PM, Yonik Seeley wrote: > On Thu, May 3, 2012 at 2:26 PM, okayndc wrote: > [...] > > I've experimented with this: > > {!ex=dt key=Categories and Stuff}category > > > > I'm not really sure what 'e

solr: how to change display name of a facet?

2012-05-03 Thread okayndc
Hello, Is there a way to change the display name (that contains spaces or special characters) for a facet without changing the value of the facet field? For example if my facet field name is 'category', I want to change the display name of the facet to 'Categories and Stuff' I've experimented wit

Re: extracting/indexing HTML via cURL

2012-05-01 Thread okayndc
ll be stripped of the of the tags > during analysis and be searchable just like a normal text field. Then, > search will not see "". > > > -- Jack Krupansky > > -Original Message- From: okayndc > Sent: Tuesday, May 01, 2012 10:08 AM > To: solr-user@lucene

Re: extracting/indexing HTML via cURL

2012-05-01 Thread okayndc
-- Jack Krupansky > > -Original Message- From: okayndc > Sent: Monday, April 30, 2012 5:06 PM > To: solr-user@lucene.apache.org > Subject: Re: Solr: extracting/indexing HTML via cURL > > Great, thank you for the input. My understanding of HTMLStripCharFilter is > that it stri

Re: Solr: extracting/indexing HTML via cURL

2012-04-30 Thread okayndc
HTMLStripCharFilter and then > directly add documents that direct the raw HTML to that field. > > There may be some other way to hook into the update processing chain, but > that may be too much effort compared to the HTML strip filter. > > -- Jack Krupansky > > -Or

Solr: extracting/indexing HTML via cURL

2012-04-30 Thread okayndc
Hello, Over the weekend I experimented with extracting HTML content via cURL and just wondering why the extraction/indexing process does not include the HTML tags. It seems as though the HTML tags either being ignored or stripped somewhere in the pipeline. If this is the case, is it possible to in

Re: escaping HTML tags within XML file

2011-09-25 Thread okayndc
the doc, doesn't mean > folks always want to present it or store it. > > With Data Import Handler a HTML stripping transformer is present so that it > is removed before the indexer gets it's hands on things. I can't be sure if > that is how you get your data into Solr.

escaping HTML tags within XML file

2011-09-25 Thread okayndc
Hello, Was wondering if it is necessary to escape HTML tags within an XML file for indexing? If so, seems like a large XML files with tons of HTML tags could get really messy (using CDATA). Has this been your experience? Do you escape the HTML tags? If so, what technique do you use? Or do you le

Re: running SOLR on same server as your website

2011-09-07 Thread okayndc
wn to "it depends". > > JRJ > > -Original Message- > From: okayndc [mailto:bodymo...@gmail.com] > Sent: Wednesday, September 07, 2011 9:02 AM > To: solr-user@lucene.apache.org > Subject: running SOLR on same server as your website > > Hi everyone! > >

Re: running SOLR on same server as your website

2011-09-07 Thread okayndc
plication can > do so. > > Eventually, perhaps, scale would be an issue and you'd want/need to > separate the tiers, but as long as you've got security and scalability > covered there's no reason not to deploy together like that. > >Erik > > On Sep 7, 2

running SOLR on same server as your website

2011-09-07 Thread okayndc
Hi everyone! Is it not a good practice to run SOLR on the same server where you website files sit? Or is it a MUST to house SOLR on it's own application server? The problem that I'm facing is that, my website's files sit on a servlet container (Tomcat) and I think it would be more convenient to h

Re: solr/velocity: funtion for sorting asc/desc

2011-07-13 Thread okayndc
Awesome, thanks Erik! -- View this message in context: http://lucene.472066.n3.nabble.com/solr-velocity-funtion-for-sorting-asc-desc-tp3163549p3167662.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr/velocity: funtion for sorting asc/desc

2011-07-13 Thread okayndc
Thanks Eric. So if I had a link "Sort Title" and the default is &sort=title desc how can i switch that to &sort=title asc? example: http://# Sort Tile (default &sort=title desc) user clicks on link and sort should toggle(or switch) to &sort=title asc how can this be achieved? -- View this m

solr/velocity: funtion for sorting asc/desc

2011-07-12 Thread okayndc
hello, was wondering if there is a solr/velocity function out there that can sort say, a title name, by clicking on a link named "sort title" that can sort ascending or descending by alpha? or is this a frontend/jquery type of thing? thanks -- View this message in context: http://lucene.472066

Re: Exact phrase highlighting

2011-06-27 Thread okayndc
has this bug been fixed? i'm using solr 3.1 and it still seems to be an issue. if i do a search for "bird house" i still get bird house returned instead of bird house, which is the desired result. -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-phrase-highlighting-tp48

Re: velocity: hyperlinking to documents

2011-06-23 Thread okayndc
Yes, from the handy /browse view. I'll give this a try. Thanks Erik! -- View this message in context: http://lucene.472066.n3.nabble.com/velocity-hyperlinking-to-documents-tp3091504p3100957.html Sent from the Solr - User mailing list archive at Nabble.com.

velocity: hyperlinking to documents

2011-06-21 Thread okayndc
hello, i'm not sure of the correct velocity syntax to link, let's say a title field, to the actual document itself. i have a hostname, a category (which is also the directory where the file sits) and filename fields in my schema. can i potentially use these fields to get at the document itself?