Sorry for late reply, just back from holiday :)
I did what you mentioned:
and then in url facet.field=services_raw
It works...awesome, thanks!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1222961.html
Sent from
> "Sea",2],
> "province":[
>"gelderland",1,
>"utrecht",1,
>"zuidholland",1],
> "services":[
>"exclusiev",2,
>"fotoreportag",2,
>"hur",2,
>"liv",1,
>"muziek",1]},
> "facet_dates":{}}}
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1052554.html
> Sent from the Solr - User mailing list archive at Nabble.com.
"services":[
"exclusiev",2,
"fotoreportag",2,
"hur",2,
"liv",1,
"muziek",1]},
"facet_dates":{}}}
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1052554.html
Sent from the Solr - User mailing list archive at Nabble.com.
catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
> >>
> >> >> protected="protwords.txt"/>
> >>
> >>
> >>
> >>
> >> >> ignoreCase="true" expand="tru
ords="0"
>> catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
>>
>>> protected="protwords.txt"/>
>>
>>
>>
>>
>> > positionIncrementGap="1
> protected="protwords.txt"/>
>
>
>
>
> positionIncrementGap="100" >
>
>
> ignoreCase="true" expand="false"/>
> words="stopwords.txt"/>
> generateWordParts="0" generateNumberParts="0" catenateWords="1"
> catenateNumbers="1" catenateAll="0"/>
>
> protected="protwords.txt"/>
>
>
>
>
> sortMissingLast="true" omitNorms="true">
>
>
>
>
> replacement="" replace="all" />
>
>
> class="solr.StrField" />
>
>
>
>required="true" />
>
>
>
> multiValued="true" omitNorms="true" termVectors="true" />
>multiValued="true"/>
>multiValued="true"/>
>
>
>multiValued="true"/>
>default="NOW" multiValued="false"/>
>
>
>
>
>
>
>
>
>
>
>
>
>
> id
>
> text
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1025463.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
id
text
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1025463.html
Sent from the Solr - User mailing list archive at Nabble.com.
ong for the purpose described above? Because as far as I can see the
> documents are indexed correctly (BESIDES the spaces in the fieldvalues).
>
> Any help is greatly appreciated! :)
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1023992.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
ectly (BESIDES the spaces in the fieldvalues).
Any help is greatly appreciated! :)
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1023992.html
Sent from the Solr - User mailing list archive at Nabble.com.
d for
displaying the navigation.
But, check the wiki on this subject.
-Original message-
From: PeterKerk
Sent: Wed 04-08-2010 22:23
To: solr-user@lucene.apache.org;
Subject: RE: Indexing fieldvalues with dashes and spaces
Sorry, but Im a newbie to Solr...how would I change my schem
4:18 PM
To: solr-user@lucene.apache.org
Subject: RE: Indexing fieldvalues with dashes and spaces
You shouldn't fetch faceting results from analyzed fields, it will mess with
your results. Search on analyzed fields but don't retrieve values from them.
-Original message-
From: Pet
Sorry, but Im a newbie to Solr...how would I change my schema.xml to match
your requirements?
And what do you mean by "it will mess with your results"? What will happen
then?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-
t;Utrecht",1,
"Zuid-Holland",1], < this is now correct
"services":[
"Exclusieve",2,
"Fotoreportage",2,
"huur",2,
"Live",1, < "Live muziek" is split and separate facets are created
"muziek",1]},
"facet_dates":{}}}
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1023787.html
Sent from the Solr - User mailing list archive at Nabble.com.
ot;huur",2,
"Live",1, < "Live muziek" is split and separate facets are
created
"muziek",1]},
"facet_dates":{}}}
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1023787.html
Sent from the Solr - User mailing list archive at Nabble.com.
, August 04, 2010 3:36 PM
To: solr-user@lucene.apache.org
Subject: Indexing fieldvalues with dashes and spaces
Im having issues with indexing field values containing spaces and dashes.
For example: Im trying to index province names of the Netherlands. Some
province names contain a "-":
15 matches
Mail list logo