News url is not showing correct

2013-11-27 Thread Vishal GUPTA
Hi

I am facing a problem in solr with tt_news url. Every time its showing all news 
from one detail page.

For ex: I have two category of news

1.   Corporate

2.   Human

So url for corporate it should be form like : 
domainname/pagename/corporate/detail/article/newsheading
And for human it should be like: 
domainname/pagename/human/detail/article/newsheading

But every time it is showing: 
domainname/pagename/corporate/detail/article/newsheading

I have checked that is not taking singlepid value in following code(this is I 
used for tt news):

plugin.tx_solr.index.queue {
table = tt_news
// enables indexing of tt_news reocrds
tt_news = 1
tt_news {
fields {
abstract = short
author = author
description = short
title = title

// the special SOLR_CONTENT content object cleans HTML and RTE 
fields
content = SOLR_CONTENT
content {
field = bodytext
}

// the special SOLR_RELATION content object resolves relations
category_stringM = SOLR_RELATION
category_stringM {
localField = category
multiValue = 1
}

// the special SOLR_MULTIVALUE content object allows to index 
multivalue fields
keywords = SOLR_MULTIVALUE
keywords {
field = keywords
}

// build the URL through typolink, make sure to use returnLast = url
url = TEXT
url {
typolink.parameter = {$plugin.tt_news.singlePid}
typolink.additionalParams = 
&tx_ttnews[tt_news]={field:uid}&L={field:__solr_index_language}
typolink.additionalParams.insertData = 1
typolink.returnLast = url
typolink.useCacheHash = 1
}

sortAuthor_stringS = author
sortTitle_stringS  = title
}
}
}

so I define singlepid at home page typoscript section and this id is of 
corporate news.

Can anyone tell me how can I configure it for many categories. So that it show 
me correct url

Regards
Vishal Gupta
CUG: 830 4659
Email: vishal.gu...@steria.co.in<mailto:vishal.gu...@steria.co.in>

This email and any attachments may contain confidential information and 
intellectual property (including copyright material). It is only for the use of 
the addressee(s) in accordance with any instructions contained within it. If 
you are not the addressee, you are prohibited from copying, forwarding, 
disclosing, saving or otherwise using it in any way. If you receive this email 
in error, please immediately advise the sender and delete it. Steria may 
monitor the content of emails within its network to ensure compliance with its 
policies and procedures. Emails are susceptible to alteration and their 
integrity (including origin) cannot be assured. Steria shall not be liable for 
any modification to a message, or for messages falsely sent.


RE: News url is not showing correct

2013-11-28 Thread Vishal GUPTA
Hi Erick

Could you please let me know what information you require to reach the root of 
this problem. I will provide you the same.


-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Wednesday, November 27, 2013 7:56 PM
To: solr-user@lucene.apache.org
Subject: Re: News url is not showing correct

My _guess_, and it's only a guess since you haven't shown us anything about 
your Solr setup, is that all your documents are getting indexed with the same 
ID so you only have one live document.

You might review:
http://wiki.apache.org/solr/UsingMailingLists

Best,
Erick


On Wed, Nov 27, 2013 at 5:03 AM, Vishal GUPTA wrote:

> Hi
>
> I am facing a problem in solr with tt_news url. Every time its showing
> all news from one detail page.
>
> For ex: I have two category of news
>
> 1.   Corporate
>
> 2.   Human
>
> So url for corporate it should be form like :
> domainname/pagename/corporate/detail/article/newsheading
> And for human it should be like:
> domainname/pagename/human/detail/article/newsheading
>
> But every time it is showing:
> domainname/pagename/corporate/detail/article/newsheading
>
> I have checked that is not taking singlepid value in following
> code(this is I used for tt news):
>
> plugin.tx_solr.index.queue {
> table = tt_news
> // enables indexing of tt_news reocrds
> tt_news = 1
> tt_news {
> fields {
> abstract = short
> author = author
> description = short
> title = title
>
> // the special SOLR_CONTENT content object cleans HTML and
> RTE fields
> content = SOLR_CONTENT
> content {
> field = bodytext
> }
>
> // the special SOLR_RELATION content object resolves relations
> category_stringM = SOLR_RELATION
> category_stringM {
> localField = category
> multiValue = 1
> }
>
> // the special SOLR_MULTIVALUE content object allows to
> index multivalue fields
> keywords = SOLR_MULTIVALUE
> keywords {
> field = keywords
> }
>
> // build the URL through typolink, make sure to use
> returnLast = url
> url = TEXT
> url {
> typolink.parameter = {$plugin.tt_news.singlePid}
> typolink.additionalParams =
> &tx_ttnews[tt_news]={field:uid}&L={field:__solr_index_language}
> typolink.additionalParams.insertData = 1
> typolink.returnLast = url
> typolink.useCacheHash = 1
> }
>
> sortAuthor_stringS = author
> sortTitle_stringS  = title
>     }
>     }
> }
>
> so I define singlepid at home page typoscript section and this id is
> of corporate news.
>
> Can anyone tell me how can I configure it for many categories. So that
> it show me correct url
>
> Regards
> Vishal Gupta
> CUG: 830 4659
> Email: vishal.gu...@steria.co.in<mailto:vishal.gu...@steria.co.in>
>
> This email and any attachments may contain confidential information
> and intellectual property (including copyright material). It is only
> for the use of the addressee(s) in accordance with any instructions
> contained within it. If you are not the addressee, you are prohibited
> from copying, forwarding, disclosing, saving or otherwise using it in
> any way. If you receive this email in error, please immediately advise
> the sender and delete it. Steria may monitor the content of emails
> within its network to ensure compliance with its policies and
> procedures. Emails are susceptible to alteration and their integrity 
> (including origin) cannot be assured.
> Steria shall not be liable for any modification to a message, or for
> messages falsely sent.
>
This email and any attachments may contain confidential information and 
intellectual property (including copyright material). It is only for the use of 
the addressee(s) in accordance with any instructions contained within it. If 
you are not the addressee, you are prohibited from copying, forwarding, 
disclosing, saving or otherwise using it in any way. If you receive this email 
in error, please immediately advise the sender and delete it. Steria may 
monitor the content of emails within its network to ensure compliance with its 
policies and procedures. Emails are susceptible to alteration and their 
integrity (including origin) cannot be assured. Steria shall not be liable for 
any modification to a message, or for messages falsely sent.


Solr indeing Partially working

2013-04-24 Thread vishal gupta
Hi i am using Solr 4.2.0 and extension 2.8.2  with Typo3. Whever I try to do
indexing pages and news pages It gets only 3.29% indexed. I checked a
developer log and found error in solrservice.php. And in solr admin it is
giving "Dups is not defined please add it". What should i do in this case?
If possible please send me the settings of schema.xml and solrconfig.xml .i
am new to typo3 and solr both.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-indeing-Partially-working-tp4058623.html
Sent from the Solr - User mailing list archive at Nabble.com.