Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm developing an Node.js app that stores HTML documents in a MongoDB database and want to provide full text search capabilities. From what I can see the full text search included in MongoDB expects documents to be plain text and therefore isn't suitable for indexing my html documents. Is that assumption correct and if so what do folks recommend for this.
From reading other SO posts Elastic Search seems to be the most suggested path. I can't say I'm all that happy about bringing a Java app into the picture though. Also having a completely separate app is not my ideal scenario.
You can throw some regex at the HTML and try to strip the markup from the HTML yourself. The output can be indexed by MongoDB.
That is probably easier to develop than using a search tool such as ES or Solr (which indeed is out of scope here), but it won't get you as far: simply stripping the HTML means that contextual information is lost, and invalid HTML can lead to trouble.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am working on an application where I want to design user interface as below. I want to perform the click action on the any of these get clicked. Example I clicked on the "family" so i want to redirect the user to some page according to the selection from here. I want to design it in such a way (Like a gridview ) so that I can add more option into it when needed. The images which are being display will be fetched from any server.. I dont want to design it using image view . I would love to prefer any gridview kind of library.
Try this awesome circular image library hope it helps.
Note:
It just provides the circular Imageview you have to write the code for GridView I hope You know how to customized gridview
There is one good library created by dmitry-zaitsev on Github. Please check CircleLayout
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for a module - if it exists - that is an API for creating a traditional tree data structure (like a decision tree) and saving and loading it from a data source (like a MongoDB document). Ideally this API would allow splicing trees at any node and then resaving them to the DB and also retrieval of any node via an ID.
I've found the following:
decision-tree: too narrow a definition and no DB support.
simple-tree: no DB support
tree: no documentation
tree-kit: utilities but not a traditional tree data structure from what I can see.
tree-data: no documentation that I can find
None of these seem to be a full solution for my decision-tree needs. And it is quite possible that I'm approaching this the wrong way.
Suggestions?
EDIT:
Found tree-model and it seems promising, but still no API for interaction with a DB. Perhaps I will write one.
After looking into this and not finding a substantial solution for what I wanted, I wrote my own:
mongo-tree
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Search Box Logic based on user input:- [string1, string2, string3] where RESULT if all 3 strings are found > any 2 strings are found > any one string is found.
To perform custom search logic in Mongodb:-
a) Is it possible using mongoosejs? or
b) Do i write javascript logic ?
Are there mongoose plugins for search box logic?
The search is straightforward although note that real full-text style search requires some additional reading and is a separate challenge.
var query = MyModel.find({$or: [{name: string1},{name: string2},{name: string3}]});
Sorting based on how many matched is not something I know how to do within mongodb itself. I don't think it's possible but maybe someone else knows how. I think that you will have to do in your application javascript logic.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Currently we are using Lucene for our search engine, but we want to look at some alternatives. I have looked at several on the net but seems like a lot of them are out of date or the development stopped. That is why I want to ask if you guys know any good open-source alternatives to Lucene that are still in development?
Kind regards,
Merlijn
Try Sphinx search http://sphinxsearch.com/. It is used by many NLP researchers.
If you are looking for an open source and Java based alternative, then you could try Terreir. Note that Terrier targets academia.
If the language is not an issue, then you could look at Xapian. I found its community quite active, and it has participated in Google Summer of Code several times.
Otherwise, you could try Whoosh, a python based search library.
FastcatSearch is also open source and java based alternative.
Lucene is a IR library as already you know, Solr is a search server, and FastcatSearch is a counterpart of Solr.
It provides web-based manager, so that you can set up configs easily.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am collecting logs from several custom made applications. Each application has it's own log format. What I'm looking for is a central tool which would allow me to search through all of my logs. This means the tool would have to be able to define a different regex (or alike) for each log file (marking where a record begins, ends, and what are the fields). I've been trying Splunk, but I'm not happy with it, since performance are slow, I'm limited (free version) with the amount of indexed data per-day, and it's not as flexible as I want it to be.
Could you recommend a software (preferably free or cheap) for the task?
You can try Lucene. It is free. It is written in Java, and it allows full-text search over large amount of data. It is not a complete application, but rather a library, so you have to write code that uses it to index and to search your logs. You may have to define different document types or at least different indexing functions for your logs, but then search works beautifully.
If you can use Windows, try out Microsoft's best tool ever, Logparser. I wish there was such a simple tool for Unix. But there isn't. And although I've kept wanting to get around to making a Unix version of Logparser, I just haven't had the time.
Note: This would be a great project for someone with time on their hands or for a grad-student somewhere!
http://www.splunk.com/
Never used it, but have heard of it.