You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by SweetEmerald <de...@hotmail.com> on 2013/05/15 00:57:38 UTC

Search MoreLikeThis ID into another collations

Hi!
Im new in Solr, I would like to do a MoreLikeThis search for an ID into
other collections, not only in the collection that owns that ID

Is that posible? do you have an example?

Thank you very much!



--
View this message in context: http://lucene.472066.n3.nabble.com/Search-MoreLikeThis-ID-into-another-collations-tp4063352.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search MoreLikeThis ID into another collations

Posted by SweetEmerald <de...@hotmail.com>.
Thank you very much for your answers!!
As I said earlier, I am new in Solr and I would like to know if there is any
way to get the list of terms in the document with that ID.
I found that I can add the parameters facet = true and facet.field = TITLE
to return all terms ordered by frequency rather. Is this helpful?

Thank you very much!



--
View this message in context: http://lucene.472066.n3.nabble.com/Search-MoreLikeThis-ID-into-another-collations-tp4063352p4063551.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search MoreLikeThis ID into another collations

Posted by Jack Krupansky <ja...@basetechnology.com>.
Oh, yes, definitely... you can certainly do it yourself.

It would be nice to have a request handler that did the document 
"characterization", returning the most significant terms. Then the app could 
simply send a request for that to the first collection and then turn it into 
a query for the other collection.

-- Jack Krupansky

-----Original Message----- 
From: Walter Underwood
Sent: Tuesday, May 14, 2013 8:44 PM
To: solr-user@lucene.apache.org
Subject: Re: Search MoreLikeThis ID into another collations

I know this can be done, because I did it in Ultraseek. It was the first 
feature I wrote, probably around 1997.

Take the most significant terms from the document and turn them into a 
query. You can use the tf-idf scores of the terms as weights. I tested my 
queries (without weights) from Ultraseek against several WWW search engines 
(we used to have a lot more of those). Two test documents that I remember 
were the "Yes, Virginia there is a Santa Claus" newspaper column and a Kodak 
Tri-X film datasheet. For there first, there are lots of copies on the 
internet. For the second, there are (were) lots of similar 400 speed black 
and white films. I was an Ilford man, myself.

It worked pretty well.

wunder

On May 14, 2013, at 5:20 PM, Jack Krupansky wrote:

> Do you mean pointing to a document in one collection and retrieving 
> documents from another collection that are similar to the first document? 
> Not that I know of.
>
> Sounds like a reasonable Jira request.
>
> But... the too collections would need to be fairly similar overall 
> themselves, because the characterization of the first document would be 
> based on terms in that collection, but those terms might not even occur in 
> the other collection.
>
> -- Jack Krupansky
>
> -----Original Message----- From: SweetEmerald
> Sent: Tuesday, May 14, 2013 6:57 PM
> To: solr-user@lucene.apache.org
> Subject: Search MoreLikeThis ID into another collations
>
> Hi!
> Im new in Solr, I would like to do a MoreLikeThis search for an ID into
> other collections, not only in the collection that owns that ID
>
> Is that posible? do you have an example?
>
> Thank you very much!
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Search-MoreLikeThis-ID-into-another-collations-tp4063352.html
> Sent from the Solr - User mailing list archive at Nabble.com.

--
Walter Underwood
wunder@wunderwood.org




Re: Search MoreLikeThis ID into another collations

Posted by Walter Underwood <wu...@wunderwood.org>.
I know this can be done, because I did it in Ultraseek. It was the first feature I wrote, probably around 1997.

Take the most significant terms from the document and turn them into a query. You can use the tf-idf scores of the terms as weights. I tested my queries (without weights) from Ultraseek against several WWW search engines (we used to have a lot more of those). Two test documents that I remember were the "Yes, Virginia there is a Santa Claus" newspaper column and a Kodak Tri-X film datasheet. For there first, there are lots of copies on the internet. For the second, there are (were) lots of similar 400 speed black and white films. I was an Ilford man, myself.

It worked pretty well.

wunder

On May 14, 2013, at 5:20 PM, Jack Krupansky wrote:

> Do you mean pointing to a document in one collection and retrieving documents from another collection that are similar to the first document? Not that I know of.
> 
> Sounds like a reasonable Jira request.
> 
> But... the too collections would need to be fairly similar overall themselves, because the characterization of the first document would be based on terms in that collection, but those terms might not even occur in the other collection.
> 
> -- Jack Krupansky
> 
> -----Original Message----- From: SweetEmerald
> Sent: Tuesday, May 14, 2013 6:57 PM
> To: solr-user@lucene.apache.org
> Subject: Search MoreLikeThis ID into another collations
> 
> Hi!
> Im new in Solr, I would like to do a MoreLikeThis search for an ID into
> other collections, not only in the collection that owns that ID
> 
> Is that posible? do you have an example?
> 
> Thank you very much!
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Search-MoreLikeThis-ID-into-another-collations-tp4063352.html
> Sent from the Solr - User mailing list archive at Nabble.com. 

--
Walter Underwood
wunder@wunderwood.org




Re: Search MoreLikeThis ID into another collations

Posted by Jack Krupansky <ja...@basetechnology.com>.
Do you mean pointing to a document in one collection and retrieving 
documents from another collection that are similar to the first document? 
Not that I know of.

Sounds like a reasonable Jira request.

But... the too collections would need to be fairly similar overall 
themselves, because the characterization of the first document would be 
based on terms in that collection, but those terms might not even occur in 
the other collection.

-- Jack Krupansky

-----Original Message----- 
From: SweetEmerald
Sent: Tuesday, May 14, 2013 6:57 PM
To: solr-user@lucene.apache.org
Subject: Search MoreLikeThis ID into another collations

Hi!
Im new in Solr, I would like to do a MoreLikeThis search for an ID into
other collections, not only in the collection that owns that ID

Is that posible? do you have an example?

Thank you very much!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-MoreLikeThis-ID-into-another-collations-tp4063352.html
Sent from the Solr - User mailing list archive at Nabble.com.