Hi,
I want to create a Solr index of articles. Each article should have a title,
content, published date and an arbitrary number of images attached to. An
article could look like this:
title: An article about Foo and Bar
content: This is some text about Foo and Bar.
published: 2012.09.07T
> Why would you store the actual images in SOLR?
No, the images are files on the filesystem. Only the path to the image should
be stored in Solr.
> And you are most likely looking at dynamic fields as the solution
>
> 1) Define *_Path, *_Size, *_Alt as a dynamic field with appropriate types
> 2
Hi,
what is the effect of the format attribute for StopFilterFactory? E.g.
format="snowball"?
Sorl ships with a schema.xml with a lot of good examples. The file is in
example/solr/conf/schema.xml and defines a for German text:
> I'm using Solr 4 RC, and my documents look like this:
>
>
> 123
> Folder name
>
>
> abc
> Document 1
> 123
>
>
> def
> Document 2
> 123
>
>
> Meaning there are two documents which are in the same folder in this
> example. When querying documents I need the name of the fold
Hi,
I have a StrField to store an URL. The field definition looks like this:
Type "string" is defined as usual:
Then I realized that a StrField doesn't execute any analyzers and stored data
verbatim. The data is just a single token.
The purpose of stored="true" is to store the raw string dat
Hi,
I defined a field "id" in my schema.xml and use it as an :
id
I want to store URLs with a prefix in this field to be sure that every id is
unique among websites. For example:
domain_http://www.domain.com/?p=12345
foo_http://foo.com
bar_http://bar.com/?doc=452
I wrote a Java app, w
> term query parser is your friend in this case. With this you don't need to
> escape anything.
> SolrQuery query = new SolrQuery();
> query.setQuery("{!term f=id}bar_http://bar.com/?doc=452";);
But how can I *store* a document with an URL as a field value ? E.g.
"domain_http://www.domain.co
my bad, using "term query parser" works, thanks ahmet.
> Gesendet: Mittwoch, 12. September 2012 um 19:40 Uhr
> Von: sy...@web.de
> An: solr-user@lucene.apache.org
> Betreff: Aw: Re: Cannot parse ":", using HTTP-URL as id
>
> > term query parser is your friend in this case. With this you don't nee