Displaying 20 results from an estimated 6000 matches similar to: "Adding a score to documents"
2006 Jan 29
1
Prioritizing xapian search results
Hello
It is possible somehow to give higher priority to recent document. For
example, when adding new document to the database, I will add a term
that specifies date of the document. During the search, the date of the
document is taken into account in the algorithm that calculates
document relevancy.
In another project I am working on, I would like to limit number of
pages returned from the
2006 Jul 04
3
Recalculating the score
Hey ..
I''m using ferret to index various objects and i''m create a
Ferret::Document for each of these objects. Indexing and searching is
working fine.
Each of these Ferret::Documents has a ''relevance'' field, storing an
integer, how relevant this object is for the search. The ''relevance'' is
in the range of 1..10
Now i would like to
2004 May 26
1
PHP4 bindings
Question for people who have successfully used these bindings - how do
I create a database object? I can't use open(), because it doesn't
like the number of arguments, presumably because it's an overloaded
method and hence we should rename it in PHP.
So how do others do it? Or am I the only person trying to create a
writable database object in PHP? :)
J
--
2016 Apr 22
2
Weighting recent results
I did some digging and found a thread from 2011 talking about how to
subclass Xapian::PostingSource in order to incorporate the date or
recency of a document in its weighting:
http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856
As in that thread, I want to be clear that I don't want to sort by date,
but rather incorporate date information into the score by which I
2015 Aug 25
2
Perl bindings and MatchSpy
On 19 August 2015 at 20:55:32, Olly Betts (olly at survex.com) wrote:
On Wed, Aug 19, 2015 at 05:31:31PM +0700, Andreas Marienborg wrote:
> If I want to create a patch, should it be against the xapian-bindings
> directory/repo? or somewhere else?
Against the search-xapian directory of the git repo would be best.
Hey, I made a branch from svn/1.2 on github, and tried to forward
2006 May 25
13
functions calling functions
I think I may be missing a fundamental concept I hope someone can help
me with. I have functions that won''t call other functions. Particularly
after an Ajax request.
In the following object the ajax request onComplete calls the
ajaxFetched function successfully. ajaxFetched tries to call function2
but function2 does not execute.
Any ideas or workarounds?
thanks
Kevin
o =
2013 Mar 02
3
How to add an custom weight to the relevancy value and sort it.
Hello guys,
I have an weight value which is calculated by some factor and i need to add
the weight with the relevancy value of a result and sort it with that value
is that possible in xapian.
Thanks,
VishnuKumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20130302/9831e287/attachment-0001.html>
2006 Jun 28
12
Ajax.Updater
Hi,
someone can help me, I am ot able to find the way how to user
Ajax.updaterto test if the request give some positive or negative
result.
I am able only to return the result inside a div.
An example is appreciated.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2017 Dec 15
5
How to get the serialise score returned in Xapian::KeyMaker->operator().
HI, all,
I am a user of Xapian, and now I have a problem in using it.
After using boolean terms to get some candidates of documents (still too much), we want sorted them by self-defined function which is used in Xapian::KeyMaker->operator(). But how can I get the serialise score in Xapian::MSetIterator object.
c++ code likes this:
class SortKeyMaker : public Xapian::KeyMaker {
std::string
2018 Jan 22
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
>A possible workaround (and perhaps a better approach) would be to
>set BoolWeight as the weighting scheme, then feed in your score as
>a weight using a PostingSource. Then it's available via get_weight()
>on the MSetIterator object:
>
>https://getting-started-with-xapian.readthedocs.io/en/latest/advanced/postingsource.html
>
>You may find that's faster because
2015 Jul 06
2
[LLVMdev] Customizing module compilation in ORC JITs
Hi Lang,
I'm looking at extending the compilation passes used in the LLILC JIT and it seems like the simplest thing is to make a copy of the SimpleCompiler functor into the LLILC code and then modify it for the phases I want to run. But I was wondering if this was the best approach. Do you expect different clients to create their own compiler functors or do you imagine that SimpleCompiler
2004 Dec 17
2
Custom weight factors - pushing the relevancy ranking how we want it
Hi guys (and gals?),
We're using Xapian/Omega for indexing and searching forums.
As forums are, the content that is relevant to a search is not just
determined by the frequency or location of the terms; the date the topic
has been last modified is important as well.
Another issue we find is that the amount of results is so overwhelming,
the user is unable to find the correct topic for his
2008 Dec 05
4
[LLVMdev] Build errors on trunk for about a week now.
I did some looking up on that const thing. Apparently that const is
'supposed' to be there, but it is not strictly required. However
there is a bug in VS2k3 (VS7) through VS2k8 (VS9) (no clue if it has
been fixed yet) that requires it to be there when the functor is being
called through a const qualified interface, such as through stl
containers. They state that a bug report has been
2006 Jun 03
2
Initial patch for ExternalPostList
Hi Everybody,
Here is the first version of my match for an ExternalPostList, it
should apply cleanly to 0.9.5 and 0.9.6.
You can use it by first implementing an ExternalPostingSource, then
creating a new Query object passing a reference an instance of your
implementation to the constructor, see query.h. The
ExternalPostingSource implementation is reference counted, so when
its no
2017 Dec 04
1
problem with cloud-init-0.7.9-9.el7.centos.2.x86_64 setting up puppet.conf
When running cloud-init im getting the following error
Cloud-init v. 0.7.9 running 'modules:config' at Mon, 04 Dec 2017 18:07:26
+0000. Up 2597.52 seconds.
Loaded plugins: fastestmirror, product-id, search-disabled-repos,
subscription-manager
This system is not registered with an entitlement server. You can use
subscription-manager to register.
Loading mirror speeds from cached hostfile
2015 Jun 04
2
[LLVMdev] MCJit interface question
When we were using MCJIT, I could do this:
// Attach the event listener
Context.EE->RegisterJITEventListener(
LLILCJitEventListener::createLLILCJitEventListener(
new LLILCJitEventWrapper(&Context)));
The event listeners listened for when an object is emitted (NotifyObjectEmitted), and that’s when we’d go through and extract debug info from the ObjectFile. Now, I imagine
2016 May 17
3
External function resolution: MCJIT vs ORC JIT
When using ORC JIT, I'm having trouble with external function resolution (that is, of a function defined in the app, with C linkage).
I add a declaration for the function to my IR, and when I use MCJIT, it finds it and all is well, But when I use ORC JIT (I *think* correctly, at least it closely matches what I see in the tutorial), I get an LLVM error, "Program used external function
2017 Dec 18
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Sat, Dec 16, 2017 at 10:11:40PM +0000, Olly Betts wrote:
> Unfortunately the sort key isn't currently exposed via the public API.
> It's available internally and it seems like it ought to be accessible
> but there's no accessor method for it - I can add one but that won't
> help for existing releases.
I've added MSetIterator::get_sort_key() to master in
2015 Jun 04
2
[LLVMdev] MCJit interface question
Hi all,
So I’m also working on LLILC. Specifically, I have been working on a JITEventListener to pass debug line info to the CoreCLR EE. With Joe’s change, I’ve lost the ability (or as far as I can tell) to attach an event listener. Is there a way within Orc to do the sorts of things that the JITEventListeners do in MCJIT? How would I go about adding a layer to add debugging support?
Thanks,
2017 Aug 24
1
Invalid Signature of orc::RTDyldObjectLinkingLayer::NotifyLoadedFtor
Hi all, hi Lang
It's a little late to report issues for release_50, but I just found
that thing while porting my JitFromScratch examples to 5.0.
This is a really nifty detail, but (if I'm not mistaken) the function
signature of RTDyldObjectLinkingLayer::NotifyLoadedFtor is incorrect:
$ grep -h -r -A 1 "using NotifyLoadedFtor"