Tags and Folksonomies

2012-03-23 Thread Nishant Chandra
Suppose I have content which has title and description. Users can tag content
and search content based on tag, title and description. Tag has more
weightage.

Any inputs on how indexing and retrieval will work given there is content
and tags using Solr? Has anyone implemented search based on collaborative
tagging?

Thanks,
Nishant


Composite Key

2009-07-24 Thread Nishant Chandra
Can I use composite key for uniqueKeyId? If yes, how?
Thanks,
Nishant


Query

2009-07-24 Thread Nishant Chandra
Hi,
I am trying to facet on the description field. I executed this query:
q=ipodqt=dismaxfl=pid%2Crid%2Creviewfacet=truefacet.field=reviewfacet.limit=10facet.query=description%3Astoragefacet.query=description%3Ainterfacestart=0rows=20
I have 3 question:
1. If I have to search for a fixed string in only 1 field among many
records, how can I do it? Do I need to specify 'q' or 'fq' or both? e.g.
product id = abc is what I know. There is no query value.
2. The above query return description:interface and description:storage
along with other values. How can I suppress other values (pasted below)?
lst name=facet_countslst name=facet_queriesint
name=description:storage1/intint
name=description:interface4/int/lstlst name=facet_fieldslst
name=descriptionint name=a19/intint name=i19/intint
name=nano17/intint name=ipod16/intint name=my15/intint
name=t15/intint name=you15/intint name=can14/intint
name=it14/intint name=appl13/int/lst/lstlst
name=facet_dates//lst
3. Once I have these facet values like int
name=description:interface4/int, how should I frame the next query to
show only these 4 descriptions?
Please execuse if these questions are trivial. I am very new to solr.
Thanks,
Nishant Chandra
Hyderabad, India
Cell : +91 9949828480


Facet

2009-07-23 Thread Nishant Chandra
Hi,
I am new to Solr and need help with the following use case:
I want to provide faceted browsing. For a given product, there are multiple
descriptions (feeds, the description being 100-1500 words) that my
application gets. I want to check for the presence of a fixed number of
terms or attributes (5-10 attributes for a product, e.g. weight, memory etc)
in the description. The attribute set will be different for each product
category. And then for a given product, I wish to display the numbers of
descriptions found for each attribute (the attribute text is present
somewhere in the description). A description can contain more than 1
attribute. How can this be achieved? Please help.
Thanks,
Nishant