List Info

Thread: Tagging in solr




Tagging in solr
country flaguser name
Germany
2007-10-19 05:01:26
Hi,
 
what i want to do is to store tags that belong to products.
Each tag should also store information about how often it
was used with a certain product.
So for example:
 
product1
cool 5        => product1 was tagged 5 times with cool
 
What would be the best way to implement this kind of stuff
in solr?
 
Btw. its a huge database with over 500000 products.
 
cheers,
Spas
____________________________________________________________
_____
Invite your mail contacts to join your friends list with
Windows Live Spaces. It's easy!
http://spaces.live.
com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx
&mkt=en-us
Re: Tagging in solr
country flaguser name
Spain
2007-10-19 05:47:18
On Fri, 2007-10-19 at 11:01 +0100, Spas Poptchev wrote:
> Hi,
>  
> what i want to do is to store tags that belong to
products. Each tag should also store information about how
often it was used with a certain product.
> So for example:
>  
> product1
> cool 5        => product1 was tagged 5 times with
cool
>  
> What would be the best way to implement this kind of
stuff in solr?

There is a wiki page on some brainstorming on how to
implement  
tagging within Solr: <http://
wiki.apache.org/solr/UserTagDesign>

It's easy enough to have a tag_keywords field, but updating
a single  
tag_keywords field is not so straightforward without sending
the  
entire document to Solr every time it is tagged.  See
SOLR-139's  
extensive comments and patches to see what you're getting
into.

salu2
-- 
Thorsten Scherler                                
thorsten.at.apache.org
Open Source Java                      consulting, training
and solutions


RE: Tagging in solr
country flaguser name
Germany
2007-10-22 04:50:05
thanks for your help thorsten.

I have a general idea how the schema file (for the
UserTagDesign) should look like but its the first time im
working with solr, so im not so familiar with the subtleties
of solr. If you could give me an example how the schema
should be implemented (especially the analyzers for the utag
and utag2) i would really appreciate it.

Is it possible to have these kind of tags in a catch-all
field and is there any chance not to involve the user (just
saving how many times this tag was used on a product)?

cheers,
Spas

----------------------------------------> Subject: Re:
Tagging in solr> From: thorsten.scherler.extjuntadeandalucia.es> To: solr-userlucene.apache.org> Date: Fri, 19 Oct 2007 12:47:18
+0200>> On Fri, 2007-10-19 at 11:01 +0100, Spas
Poptchev wrote:>> Hi,>>>> what i want to
do is to store tags that belong to products. Each tag should
also store information about how often it was used with a
certain product.>> So for example:>>>>
product1>> cool 5 => product1 was tagged 5 times
with cool>>>> What would be the best way to
implement this kind of stuff in solr?>> There is a
wiki page on some brainstorming on how to implement>
tagging within Solr: >> It's easy enough to have a
tag_keywords field, but updating a single> tag_keywords
field is not so straightforward without sending the>
entire document to Solr every time it is tagged. See
SOLR-139's> extensive comments and patches to see what
you're getting into.>> salu2> --> Thorsten
Scherler thorsten.at.apache.org> Open Source Java
consulting, training and solutions>

____________________________________________________________
_____
News, entertainment and everything you care about at
Live.com. Get it now!
http://www.live.c
om/getstarted.aspx
Re: Tagging in solr
country flaguser name
United States
2007-10-24 13:57:48
Hi,

   This is what I intended to do with my impl. Create a
Multi-Valued filed
for the schema. Then when you prepare the document which you
want to send it
to the SOLR to index, for examples
<doc>
 <productID>1234</productID>
 ....
 ...
 ...
 <tag>Java</tag>
 </tag>.Net</tag>
</doc>

 And the next question of your to get the count do the facet
on this <Tag>
field.

Rakesh

Spas Poptchev wrote:
> 
> 
> Hi,
>  
> what i want to do is to store tags that belong to
products. Each tag
> should also store information about how often it was
used with a certain
> product.
> So for example:
>  
> product1
> cool 5        => product1 was tagged 5 times with
cool
>  
> What would be the best way to implement this kind of
stuff in solr?
>  
> Btw. its a huge database with over 500000 products.
>  
> cheers,
> Spas
>
____________________________________________________________
_____
> Invite your mail contacts to join your friends list
with Windows Live
> Spaces. It's easy!
> http://spaces.live.
com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx
&mkt=en-us
> 

-- 
View this message in context: http://www.nabble.com/Tagging-in-solr-tf4652183.ht
ml#a13390445
Sent from the Solr - User mailing list archive at
Nabble.com.


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )